Up to [local] / src / usr.bin / cvs
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.98, Sat May 27 03:30:31 2006 UTC (18 years ago) by joris
Branch: MAIN
CVS Tags: HEAD
Changes since 1.97: +1 -1 lines
FILE REMOVED
commit the new opencvs code, i have been hacking on this for the past 2 weeks now and it should go in at the start of the hackathon so others can help out. this code is a lot safer, smarter, faster and best of all it is actually doing what it is suppose to do! basic checkout, update, status, diff and commit are working in local mode only. there is no support for any remote setups now.
Revision 1.97 / (download) - annotate - [select for diffs], Fri Apr 14 02:49:43 2006 UTC (18 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.96: +2 -2 lines
Diff to previous 1.96 (colored) to selected 1.56 (colored)
spacing
Revision 1.96 / (download) - annotate - [select for diffs], Fri Apr 14 02:45:35 2006 UTC (18 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.95: +11 -11 lines
Diff to previous 1.95 (colored) to selected 1.56 (colored)
remove a metric buttload of excessive () no binary change; ok ray
Revision 1.95 / (download) - annotate - [select for diffs], Tue Apr 11 07:52:34 2006 UTC (18 years, 2 months ago) by ray
Branch: MAIN
Changes since 1.94: +2 -4 lines
Diff to previous 1.94 (colored) to selected 1.56 (colored)
Don't close() before fatal(). OK joris@, niallo@, and xsa@.
Revision 1.94 / (download) - annotate - [select for diffs], Wed Apr 5 01:38:55 2006 UTC (18 years, 2 months ago) by ray
Branch: MAIN
Changes since 1.93: +3 -3 lines
Diff to previous 1.93 (colored) to selected 1.56 (colored)
Use variable names for sizeof, remove casts in front of xmalloc, use xcalloc and xstrdup where appropriate, and other stuff. OK joris@
Revision 1.93 / (download) - annotate - [select for diffs], Sun Apr 2 02:01:40 2006 UTC (18 years, 2 months ago) by joris
Branch: MAIN
Changes since 1.92: +29 -12 lines
Diff to previous 1.92 (colored) to selected 1.56 (colored)
be more alert for string truncation in cvs_initlog()
Revision 1.92 / (download) - annotate - [select for diffs], Sat Apr 1 01:20:21 2006 UTC (18 years, 2 months ago) by joris
Branch: MAIN
Changes since 1.91: +15 -29 lines
Diff to previous 1.91 (colored) to selected 1.56 (colored)
cvs_initlog() returns a value that is never used, zap it.
Revision 1.91 / (download) - annotate - [select for diffs], Wed Mar 15 18:24:50 2006 UTC (18 years, 3 months ago) by deraadt
Branch: MAIN
Changes since 1.90: +2 -2 lines
Diff to previous 1.90 (colored) to selected 1.56 (colored)
bogus idiom
Revision 1.90 / (download) - annotate - [select for diffs], Wed Feb 8 19:24:19 2006 UTC (18 years, 4 months ago) by joris
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE,
OPENBSD_3_9
Changes since 1.89: +2 -2 lines
Diff to previous 1.89 (colored) to selected 1.56 (colored)
fix more breakage by xsa, although this one is partially my fault as well.
Revision 1.89 / (download) - annotate - [select for diffs], Sun Feb 5 18:21:44 2006 UTC (18 years, 4 months ago) by joris
Branch: MAIN
Changes since 1.88: +3 -1 lines
Diff to previous 1.88 (colored) to selected 1.56 (colored)
unbreak remote protocol which got broken in revision 1.88.
Revision 1.88 / (download) - annotate - [select for diffs], Thu Jan 26 09:05:31 2006 UTC (18 years, 4 months ago) by xsa
Branch: MAIN
Changes since 1.87: +17 -11 lines
Diff to previous 1.87 (colored) to selected 1.56 (colored)
strings cleanup; OK niallo@.
Revision 1.87 / (download) - annotate - [select for diffs], Wed Jan 4 14:58:12 2006 UTC (18 years, 5 months ago) by xsa
Branch: MAIN
Changes since 1.86: +4 -9 lines
Diff to previous 1.86 (colored) to selected 1.56 (colored)
make cvs_sendresp() return type void; ok joris@.
Revision 1.86 / (download) - annotate - [select for diffs], Mon Jan 2 17:38:17 2006 UTC (18 years, 5 months ago) by joris
Branch: MAIN
Changes since 1.85: +1 -38 lines
Diff to previous 1.85 (colored) to selected 1.56 (colored)
zap, kill and eliminate unused code;
Revision 1.85 / (download) - annotate - [select for diffs], Mon Jan 2 08:11:56 2006 UTC (18 years, 5 months ago) by xsa
Branch: MAIN
Changes since 1.84: +2 -12 lines
Diff to previous 1.84 (colored) to selected 1.56 (colored)
#include's cleanup; ok joris@ niallo@.
Revision 1.84 / (download) - annotate - [select for diffs], Fri Dec 30 17:51:01 2005 UTC (18 years, 5 months ago) by reyk
Branch: MAIN
Changes since 1.83: +4 -3 lines
Diff to previous 1.83 (colored) to selected 1.56 (colored)
knf
Revision 1.83 / (download) - annotate - [select for diffs], Fri Dec 30 16:47:36 2005 UTC (18 years, 5 months ago) by joris
Branch: MAIN
Changes since 1.82: +22 -40 lines
Diff to previous 1.82 (colored) to selected 1.56 (colored)
more code cleanup, ok niallo@ and xsa@
Revision 1.82 / (download) - annotate - [select for diffs], Fri Dec 30 02:03:28 2005 UTC (18 years, 5 months ago) by joris
Branch: MAIN
Changes since 1.81: +110 -193 lines
Diff to previous 1.81 (colored) to selected 1.56 (colored)
major cleanup of the functions handling the remote cvs protocol. makes the code a lot more readable and understandable. ok xsa@ and niallo@
Revision 1.81 / (download) - annotate - [select for diffs], Tue Dec 20 18:17:01 2005 UTC (18 years, 5 months ago) by xsa
Branch: MAIN
Changes since 1.80: +9 -21 lines
Diff to previous 1.80 (colored) to selected 1.56 (colored)
cvs_buf_putc() and cvs_buf_write_*() functions cannot fail anymore;
Revision 1.80 / (download) - annotate - [select for diffs], Sat Dec 10 20:27:45 2005 UTC (18 years, 6 months ago) by joris
Branch: MAIN
Changes since 1.79: +7 -19 lines
Diff to previous 1.79 (colored) to selected 1.56 (colored)
switch to xmalloc stuff, me and xsa@ agreed on this a long time ago, but we were being held back by jfb. too bad for him. next step is to use fatal() through out the code for unrecoverable errors instead of trying to be all nice and fluffy and reach main() again. ok niallo@ and xsa@
Revision 1.79 / (download) - annotate - [select for diffs], Mon Oct 17 16:16:00 2005 UTC (18 years, 7 months ago) by moritz
Branch: MAIN
Changes since 1.78: +5 -1 lines
Diff to previous 1.78 (colored) to selected 1.56 (colored)
add client support for the `watch' and `watchers' commands. ok joris@ xsa@
Revision 1.78 / (download) - annotate - [select for diffs], Mon Oct 10 17:51:53 2005 UTC (18 years, 8 months ago) by xsa
Branch: MAIN
Changes since 1.77: +2 -1 lines
Diff to previous 1.77 (colored) to selected 1.56 (colored)
- editors remote handler - minor consistency tweaks
Revision 1.77 / (download) - annotate - [select for diffs], Mon Sep 5 19:31:21 2005 UTC (18 years, 9 months ago) by xsa
Branch: MAIN
Changes since 1.76: +2 -2 lines
Diff to previous 1.76 (colored) to selected 1.56 (colored)
use CVS_ENT_MAXLINELEN;
Revision 1.76 / (download) - annotate - [select for diffs], Tue Aug 16 06:37:57 2005 UTC (18 years, 9 months ago) by xsa
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE,
OPENBSD_3_8
Changes since 1.75: +2 -1 lines
Diff to previous 1.75 (colored) to selected 1.56 (colored)
- watchers remote handler - consistency nitpicks ok joris
Revision 1.75 / (download) - annotate - [select for diffs], Sun Aug 14 19:49:18 2005 UTC (18 years, 10 months ago) by xsa
Branch: MAIN
Changes since 1.74: +11 -11 lines
Diff to previous 1.74 (colored) to selected 1.56 (colored)
missing casts; ok joris
Revision 1.74 / (download) - annotate - [select for diffs], Wed Aug 10 14:49:20 2005 UTC (18 years, 10 months ago) by xsa
Branch: MAIN
Changes since 1.73: +4 -4 lines
Diff to previous 1.73 (colored) to selected 1.56 (colored)
fgets() expects the 2nd arg to be an int. OK jfb@ joris@.
Revision 1.73 / (download) - annotate - [select for diffs], Wed Aug 10 08:14:07 2005 UTC (18 years, 10 months ago) by xsa
Branch: MAIN
Changes since 1.72: +2 -2 lines
Diff to previous 1.72 (colored) to selected 1.56 (colored)
use correct return code where we exit();
Revision 1.72 / (download) - annotate - [select for diffs], Thu Jul 28 15:52:09 2005 UTC (18 years, 10 months ago) by joris
Branch: MAIN
Changes since 1.71: +3 -2 lines
Diff to previous 1.71 (colored) to selected 1.56 (colored)
replace a dead documentation link with two alive ones. dead link spotted by Nuno Morgadinho. okay xsa@
Revision 1.71 / (download) - annotate - [select for diffs], Wed Jul 27 14:15:24 2005 UTC (18 years, 10 months ago) by xsa
Branch: MAIN
Changes since 1.70: +11 -2 lines
Diff to previous 1.70 (colored) to selected 1.56 (colored)
add trace message in cvs_connect(); ok jfb@ joris@.
Revision 1.70 / (download) - annotate - [select for diffs], Tue Jul 26 20:58:44 2005 UTC (18 years, 10 months ago) by moritz
Branch: MAIN
Changes since 1.69: +3 -3 lines
Diff to previous 1.69 (colored) to selected 1.56 (colored)
- fix SIZE_LEFT macro for the cb_cur > cb_buf case. - make cvs_buf_empty() really clean the buffer. - fix cvs_buf_copy() for the off > 0 case. - some more minor buf code cleanup. ok joris@
Revision 1.69 / (download) - annotate - [select for diffs], Mon Jul 25 20:26:57 2005 UTC (18 years, 10 months ago) by moritz
Branch: MAIN
Changes since 1.68: +2 -1 lines
Diff to previous 1.68 (colored) to selected 1.56 (colored)
fix memleak. ok xsa@
Revision 1.68 / (download) - annotate - [select for diffs], Mon Jul 25 12:13:08 2005 UTC (18 years, 10 months ago) by xsa
Branch: MAIN
Changes since 1.67: +5 -5 lines
Diff to previous 1.67 (colored) to selected 1.56 (colored)
KNF;
Revision 1.67 / (download) - annotate - [select for diffs], Mon Jul 25 12:05:43 2005 UTC (18 years, 10 months ago) by xsa
Branch: MAIN
Changes since 1.66: +4 -4 lines
Diff to previous 1.66 (colored) to selected 1.56 (colored)
KNF;
Revision 1.66 / (download) - annotate - [select for diffs], Sun Jul 24 16:46:40 2005 UTC (18 years, 10 months ago) by xsa
Branch: MAIN
Changes since 1.65: +9 -5 lines
Diff to previous 1.65 (colored) to selected 1.56 (colored)
do not use `if (!var)' unless it's boolean, better use an == check; ok jfb@ joris@.
Revision 1.65 / (download) - annotate - [select for diffs], Sat Jul 23 11:20:49 2005 UTC (18 years, 10 months ago) by joris
Branch: MAIN
Changes since 1.64: +1 -3 lines
Diff to previous 1.64 (colored) to selected 1.56 (colored)
remove debug messages, i always seem to forget these.
Revision 1.64 / (download) - annotate - [select for diffs], Sat Jul 23 11:19:46 2005 UTC (18 years, 10 months ago) by joris
Branch: MAIN
Changes since 1.63: +3 -1 lines
Diff to previous 1.63 (colored) to selected 1.56 (colored)
rewrite of the file code. the previous one was just a mess and not clean. this code is much cleaner, faster, and uses less memory overall. tested by xsa@, brad@, Michael Knudsen, and myself. okay xsa@
Revision 1.63 / (download) - annotate - [select for diffs], Sat Jul 23 00:44:13 2005 UTC (18 years, 10 months ago) by joris
Branch: MAIN
Changes since 1.62: +2 -1 lines
Diff to previous 1.62 (colored) to selected 1.56 (colored)
add missing "Remove-entry" response in cvs_responses table
Revision 1.62 / (download) - annotate - [select for diffs], Tue Jul 19 15:30:37 2005 UTC (18 years, 10 months ago) by xsa
Branch: MAIN
Changes since 1.61: +3 -4 lines
Diff to previous 1.61 (colored) to selected 1.56 (colored)
make the init command work; tested aanriot@ joris@; Ok joris@.
Revision 1.61 / (download) - annotate - [select for diffs], Tue Jul 19 00:51:01 2005 UTC (18 years, 10 months ago) by joris
Branch: MAIN
Changes since 1.60: +3 -3 lines
Diff to previous 1.60 (colored) to selected 1.56 (colored)
if the user specifies the -Q flag (really quiet) we also have to send the -q flag (quiet) to the server.
Revision 1.60 / (download) - annotate - [select for diffs], Mon Jul 18 06:58:48 2005 UTC (18 years, 10 months ago) by xsa
Branch: MAIN
Changes since 1.59: +5 -8 lines
Diff to previous 1.59 (colored) to selected 1.56 (colored)
use cvs_path_cat() where appropriate; ok joris@.
Revision 1.59 / (download) - annotate - [select for diffs], Sat Jul 9 16:27:34 2005 UTC (18 years, 11 months ago) by niallo
Branch: MAIN
Changes since 1.58: +2 -2 lines
Diff to previous 1.58 (colored) to selected 1.56 (colored)
convert snprintf with format string "%s" to an strlcpy. ok joris@
Revision 1.58 / (download) - annotate - [select for diffs], Thu Jul 7 14:27:57 2005 UTC (18 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.57: +2 -2 lines
Diff to previous 1.57 (colored) to selected 1.56 (colored)
remove trailing whitespaces from deraadt@
Revision 1.57 / (download) - annotate - [select for diffs], Fri Jun 10 21:32:08 2005 UTC (19 years ago) by joris
Branch: MAIN
Changes since 1.56: +10 -4 lines
Diff to previous 1.56 (colored)
if the remote end doesn't support a version request, send noop instead.
Revision 1.56 / (download) - annotate - [selected], Tue May 31 08:58:48 2005 UTC (19 years ago) by xsa
Branch: MAIN
Changes since 1.55: +5 -7 lines
Diff to previous 1.55 (colored)
headers ordering (alphabetically) and cleanup, from mbalmer@ and myself;
Revision 1.55 / (download) - annotate - [select for diffs], Thu May 26 22:27:11 2005 UTC (19 years ago) by jfb
Branch: MAIN
Changes since 1.54: +6 -5 lines
Diff to previous 1.54 (colored) to selected 1.56 (colored)
make cvs_getln() return the length of the line that was read, so we don't have to call strlen() right after
Revision 1.54 / (download) - annotate - [select for diffs], Tue May 24 06:42:38 2005 UTC (19 years ago) by joris
Branch: MAIN
Changes since 1.53: +6 -6 lines
Diff to previous 1.53 (colored) to selected 1.56 (colored)
as a client, the the Root response first, before trying to ask the version from our server. This will prevent our server from screwing up in cvs_startcmd(). ok jfb@
Revision 1.53 / (download) - annotate - [select for diffs], Tue May 24 04:01:03 2005 UTC (19 years ago) by jfb
Branch: MAIN
Changes since 1.52: +3 -1 lines
Diff to previous 1.52 (colored) to selected 1.56 (colored)
send the -n flag to the server as part of connection initialization if it was given on the command-line
Revision 1.52 / (download) - annotate - [select for diffs], Mon May 23 20:13:39 2005 UTC (19 years ago) by joris
Branch: MAIN
Changes since 1.51: +84 -6 lines
Diff to previous 1.51 (colored) to selected 1.56 (colored)
allow the CVS_CLIENT_LOG stuff to take variables which expand into usefull information to create unique logfile names. okay jfb@
Revision 1.51 / (download) - annotate - [select for diffs], Thu May 12 23:01:35 2005 UTC (19 years, 1 month ago) by xsa
Branch: MAIN
Changes since 1.50: +26 -8 lines
Diff to previous 1.50 (colored) to selected 1.56 (colored)
snprintf checks; joris ok
Revision 1.50 / (download) - annotate - [select for diffs], Mon May 9 19:24:07 2005 UTC (19 years, 1 month ago) by joris
Branch: MAIN
Changes since 1.49: +5 -2 lines
Diff to previous 1.49 (colored) to selected 1.56 (colored)
cvs_getln() can fail and return -1.
Revision 1.49 / (download) - annotate - [select for diffs], Fri Apr 22 15:16:15 2005 UTC (19 years, 1 month ago) by joris
Branch: MAIN
Changes since 1.48: +3 -2 lines
Diff to previous 1.48 (colored) to selected 1.56 (colored)
finish support for the '-' token in the Entry file, this allows us to mark files as removed, and lets the remove command work completely. tested and ok xsa@, jfb@
Revision 1.48 / (download) - annotate - [select for diffs], Mon Apr 18 23:56:19 2005 UTC (19 years, 1 month ago) by joris
Branch: MAIN
Changes since 1.47: +5 -1 lines
Diff to previous 1.47 (colored) to selected 1.56 (colored)
don't send an Entry reply to the server for unknown files, fixes "foo is not (any longer) pertinent" errors
Revision 1.47 / (download) - annotate - [select for diffs], Mon Apr 18 21:02:50 2005 UTC (19 years, 1 month ago) by jfb
Branch: MAIN
Changes since 1.46: +14 -6 lines
Diff to previous 1.46 (colored) to selected 1.56 (colored)
Modify the CVSFILE structure using a union to keep information about 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@
Revision 1.46 / (download) - annotate - [select for diffs], Sun Apr 3 17:32:50 2005 UTC (19 years, 2 months ago) by xsa
Branch: MAIN
Changes since 1.45: +2 -3 lines
Diff to previous 1.45 (colored) to selected 1.56 (colored)
first round of EX_* exit codes removal; ok joris@.
Revision 1.45 / (download) - annotate - [select for diffs], Wed Mar 30 17:43:04 2005 UTC (19 years, 2 months ago) by joris
Branch: MAIN
Changes since 1.44: +2 -2 lines
Diff to previous 1.44 (colored) to selected 1.56 (colored)
move all the client commands to the new command framework. eliminates a lot of duplicate code. ok jfb@
Revision 1.44 / (download) - annotate - [select for diffs], Sat Mar 26 08:09:54 2005 UTC (19 years, 2 months ago) by tedu
Branch: MAIN
Changes since 1.43: +5 -3 lines
Diff to previous 1.43 (colored) to selected 1.56 (colored)
fix a variety of things i found at coverity. ok joris@
Revision 1.43 / (download) - annotate - [select for diffs], Sun Mar 13 19:56:14 2005 UTC (19 years, 3 months ago) by joris
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE,
OPENBSD_3_7
Changes since 1.42: +2 -2 lines
Diff to previous 1.42 (colored) to selected 1.56 (colored)
unbreak, and do this correct.
Revision 1.42 / (download) - annotate - [select for diffs], Sun Mar 13 19:52:26 2005 UTC (19 years, 3 months ago) by joris
Branch: MAIN
Changes since 1.41: +3 -4 lines
Diff to previous 1.41 (colored) to selected 1.56 (colored)
simplify if {} else {} case. ok xsa@
Revision 1.41 / (download) - annotate - [select for diffs], Fri Mar 4 18:36:57 2005 UTC (19 years, 3 months ago) by joris
Branch: MAIN
Changes since 1.40: +2 -1 lines
Diff to previous 1.40 (colored) to selected 1.56 (colored)
add missing 'add' request in cvs_request table. ok jfb@
Revision 1.40 / (download) - annotate - [select for diffs], Fri Feb 4 18:16:40 2005 UTC (19 years, 4 months ago) by jfb
Branch: MAIN
Changes since 1.39: +20 -27 lines
Diff to previous 1.39 (colored) to selected 1.56 (colored)
cleanup and additional error checking on connection setup
Revision 1.39 / (download) - annotate - [select for diffs], Fri Jan 14 20:58:43 2005 UTC (19 years, 4 months ago) by jfb
Branch: MAIN
Changes since 1.38: +1 -16 lines
Diff to previous 1.38 (colored) to selected 1.56 (colored)
minor knf and cleanup, and remove unneeded extern declarations, they are now in cvs.h
Revision 1.38 / (download) - annotate - [select for diffs], Fri Jan 14 20:54:48 2005 UTC (19 years, 4 months ago) by jfb
Branch: MAIN
Changes since 1.37: +18 -4 lines
Diff to previous 1.37 (colored) to selected 1.56 (colored)
sprinkle more error reporting and add a trace when sending a file to the server
Revision 1.37 / (download) - annotate - [select for diffs], Wed Dec 22 00:38:25 2004 UTC (19 years, 5 months ago) by david
Branch: MAIN
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored) to selected 1.56 (colored)
spelling corrections; ok jmc@
Revision 1.36 / (download) - annotate - [select for diffs], Thu Dec 16 17:09:33 2004 UTC (19 years, 5 months ago) by jfb
Branch: MAIN
Changes since 1.35: +12 -3 lines
Diff to previous 1.35 (colored) to selected 1.56 (colored)
make cvs_connect() print an error message and return with an error 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
Revision 1.35 / (download) - annotate - [select for diffs], Tue Dec 14 17:52:37 2004 UTC (19 years, 6 months ago) by jfb
Branch: MAIN
Changes since 1.34: +2 -1 lines
Diff to previous 1.34 (colored) to selected 1.56 (colored)
missing `tag' request in the request table from Joris Vink
Revision 1.34 / (download) - annotate - [select for diffs], Wed Dec 8 19:28:10 2004 UTC (19 years, 6 months ago) by jfb
Branch: MAIN
Changes since 1.33: +2 -1 lines
Diff to previous 1.33 (colored) to selected 1.56 (colored)
support for the `Copy-file' response
Revision 1.33 / (download) - annotate - [select for diffs], Wed Dec 8 16:07:43 2004 UTC (19 years, 6 months ago) by jfb
Branch: MAIN
Changes since 1.32: +14 -1 lines
Diff to previous 1.32 (colored) to selected 1.56 (colored)
add a small protection to avoid reconnecting to a server to which we are already connected. instead, cvs will print a notice.
Revision 1.32 / (download) - annotate - [select for diffs], Wed Dec 8 05:36:14 2004 UTC (19 years, 6 months ago) by jfb
Branch: MAIN
Changes since 1.31: +13 -3 lines
Diff to previous 1.31 (colored) to selected 1.56 (colored)
avoid resending a directory if it was the last directory sent to the server
Revision 1.31 / (download) - annotate - [select for diffs], Tue Dec 7 17:10:56 2004 UTC (19 years, 6 months ago) by tedu
Branch: MAIN
Changes since 1.30: +4 -30 lines
Diff to previous 1.30 (colored) to selected 1.56 (colored)
less whitespace, more pretty. ok jfb
Revision 1.30 / (download) - annotate - [select for diffs], Mon Dec 6 21:03:12 2004 UTC (19 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.29: +5 -9 lines
Diff to previous 1.29 (colored) to selected 1.56 (colored)
tighten vertical spacing for else; jfb ok
Revision 1.29 / (download) - annotate - [select for diffs], Thu Dec 2 19:23:44 2004 UTC (19 years, 6 months ago) by jfb
Branch: MAIN
Changes since 1.28: +1 -0 lines
Diff to previous 1.28 (colored) to selected 1.56 (colored)
This commit is brought to you by the brand new improved and better tasting OpenCVS commit code.
Revision 1.28 / (download) - annotate - [select for diffs], Fri Nov 26 16:23:50 2004 UTC (19 years, 6 months ago) by jfb
Branch: MAIN
Changes since 1.27: +12 -9 lines
Diff to previous 1.27 (colored) to selected 1.56 (colored)
Rewrite the internals of the file management code so that we do not keep 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.
Revision 1.27 / (download) - annotate - [select for diffs], Tue Nov 16 21:03:43 2004 UTC (19 years, 6 months ago) by jfb
Branch: MAIN
Changes since 1.26: +8 -1 lines
Diff to previous 1.26 (colored) to selected 1.56 (colored)
more correct error checking, from Joris Vink <amni at pandora dot be>
Revision 1.26 / (download) - annotate - [select for diffs], Mon Nov 15 04:16:33 2004 UTC (19 years, 6 months ago) by jfb
Branch: MAIN
Changes since 1.25: +4 -5 lines
Diff to previous 1.25 (colored) to selected 1.56 (colored)
Fix some issues in the protocol dispatch table: - 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)
Revision 1.25 / (download) - annotate - [select for diffs], Thu Sep 23 15:36:32 2004 UTC (19 years, 8 months ago) by jfb
Branch: MAIN
Changes since 1.24: +1 -1 lines
Diff to previous 1.24 (colored) to selected 1.56 (colored)
Lower the level of an error message
Revision 1.24 / (download) - annotate - [select for diffs], Fri Aug 27 12:42:45 2004 UTC (19 years, 9 months ago) by jfb
Branch: MAIN
Changes since 1.23: +4 -3 lines
Diff to previous 1.23 (colored) to selected 1.56 (colored)
Fix two descriptor leaks
Revision 1.23 / (download) - annotate - [select for diffs], Fri Aug 13 02:57:28 2004 UTC (19 years, 10 months ago) by jfb
Branch: MAIN
Changes since 1.22: +1 -2 lines
Diff to previous 1.22 (colored) to selected 1.56 (colored)
Leave stderr alone for the moment
Revision 1.22 / (download) - annotate - [select for diffs], Thu Aug 12 20:09:40 2004 UTC (19 years, 10 months ago) by jfb
Branch: MAIN
Changes since 1.21: +3 -2 lines
Diff to previous 1.21 (colored) to selected 1.56 (colored)
Don't attempt to send the `Root' request if the operation is an `init'
Revision 1.21 / (download) - annotate - [select for diffs], Thu Aug 12 18:35:18 2004 UTC (19 years, 10 months ago) by jfb
Branch: MAIN
Changes since 1.20: +2 -0 lines
Diff to previous 1.20 (colored) to selected 1.56 (colored)
Don't bother about the server's standard error just yet
Revision 1.20 / (download) - annotate - [select for diffs], Thu Aug 5 13:24:37 2004 UTC (19 years, 10 months ago) by jfb
Branch: MAIN
Changes since 1.19: +22 -3 lines
Diff to previous 1.19 (colored) to selected 1.56 (colored)
When spawning the subprocess for the connection, attach a pipe to its standard error as well
Revision 1.19 / (download) - annotate - [select for diffs], Wed Aug 4 13:26:02 2004 UTC (19 years, 10 months ago) by jfb
Branch: MAIN
Changes since 1.18: +9 -10 lines
Diff to previous 1.18 (colored) to selected 1.56 (colored)
* set the maximum number of arguments to 256 for the moment * cvs_sendresp() is now required, so uncomment it
Revision 1.18 / (download) - annotate - [select for diffs], Tue Aug 3 04:58:45 2004 UTC (19 years, 10 months ago) by jfb
Branch: MAIN
Changes since 1.17: +119 -776 lines
Diff to previous 1.17 (colored) to selected 1.56 (colored)
Move all of the request- and response-specific handlers into separate files and have only the generic function of each type available to the outside
Revision 1.17 / (download) - annotate - [select for diffs], Mon Aug 2 22:45:57 2004 UTC (19 years, 10 months ago) by jfb
Branch: MAIN
Changes since 1.16: +32 -3 lines
Diff to previous 1.16 (colored) to selected 1.56 (colored)
When we connect to a remote server, always send the Version request and 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.
Revision 1.16 / (download) - annotate - [select for diffs], Mon Aug 2 17:16:08 2004 UTC (19 years, 10 months ago) by jfb
Branch: MAIN
Changes since 1.15: +58 -4 lines
Diff to previous 1.15 (colored) to selected 1.56 (colored)
* copy most of the code from cvs_resp_handle() into cvs_req_handle() and add some protection for unimplemented handlers * add a bogus handler for the `Template' response, which we'll handle soon
Revision 1.15 / (download) - annotate - [select for diffs], Fri Jul 30 23:10:21 2004 UTC (19 years, 10 months ago) by jfb
Branch: MAIN
Changes since 1.14: +17 -19 lines
Diff to previous 1.14 (colored) to selected 1.56 (colored)
Minor bug fixes
Revision 1.14 / (download) - annotate - [select for diffs], Fri Jul 30 17:37:58 2004 UTC (19 years, 10 months ago) by jfb
Branch: MAIN
Changes since 1.13: +103 -37 lines
Diff to previous 1.13 (colored) to selected 1.56 (colored)
Handle the `Rcs-diff' response so we can patch on updates
Revision 1.13 / (download) - annotate - [select for diffs], Fri Jul 30 01:49:24 2004 UTC (19 years, 10 months ago) by jfb
Branch: MAIN
Changes since 1.12: +326 -386 lines
Diff to previous 1.12 (colored) to selected 1.56 (colored)
Move to the new API for the client-server protocol. All functions now take a cvs root structure as parameter. This will allow for much easier management of CVS trees that make use of multiple roots.
Revision 1.12 / (download) - annotate - [select for diffs], Thu Jul 29 19:03:33 2004 UTC (19 years, 10 months ago) by jfb
Branch: MAIN
Changes since 1.11: +619 -0 lines
Diff to previous 1.11 (colored) to selected 1.56 (colored)
New protocol API commented out, not ready yet
Revision 1.11 / (download) - annotate - [select for diffs], Thu Jul 29 18:49:08 2004 UTC (19 years, 10 months ago) by jfb
Branch: MAIN
Changes since 1.10: +20 -58 lines
Diff to previous 1.10 (colored) to selected 1.56 (colored)
Define a flag to tell if a request expects a response. This will later allow us to do implicit response handling and remove the third argument to cvs_client_sendreq()
Revision 1.10 / (download) - annotate - [select for diffs], Thu Jul 29 18:34:55 2004 UTC (19 years, 10 months ago) by jfb
Branch: MAIN
Changes since 1.9: +0 -2 lines
Diff to previous 1.9 (colored) to selected 1.56 (colored)
No more cvs_root
Revision 1.9 / (download) - annotate - [select for diffs], Wed Jul 28 01:49:14 2004 UTC (19 years, 10 months ago) by jfb
Branch: MAIN
Changes since 1.8: +11 -16 lines
Diff to previous 1.8 (colored) to selected 1.56 (colored)
Fix the timestamp parsing for Mod-time. Months are now being detected correctly and there is no assumption about Daylight Savings Time
Revision 1.8 / (download) - annotate - [select for diffs], Tue Jul 27 16:16:19 2004 UTC (19 years, 10 months ago) by jfb
Branch: MAIN
Changes since 1.7: +47 -14 lines
Diff to previous 1.7 (colored) to selected 1.56 (colored)
* use a mix of mktime() and ctime_r() instead of asctime_r() to calculate 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.
Revision 1.7 / (download) - annotate - [select for diffs], Tue Jul 27 13:55:00 2004 UTC (19 years, 10 months ago) by jfb
Branch: MAIN
Changes since 1.6: +63 -4 lines
Diff to previous 1.6 (colored) to selected 1.56 (colored)
* parse the timestamp given to Mod-time correctly and store it so the 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
Revision 1.6 / (download) - annotate - [select for diffs], Mon Jul 26 17:28:59 2004 UTC (19 years, 10 months ago) by jfb
Branch: MAIN
Changes since 1.5: +52 -20 lines
Diff to previous 1.5 (colored) to selected 1.56 (colored)
* fix two offset bugs in MT stack handling * 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
Revision 1.5 / (download) - annotate - [select for diffs], Mon Jul 26 16:00:10 2004 UTC (19 years, 10 months ago) by jfb
Branch: MAIN
Changes since 1.4: +94 -16 lines
Diff to previous 1.4 (colored) to selected 1.56 (colored)
* start working on the MT support * add dummy handlers for `Set-sticky', `Clear-sticky' and `Module-expansion'
Revision 1.4 / (download) - annotate - [select for diffs], Sun Jul 25 18:50:30 2004 UTC (19 years, 10 months ago) by jfb
Branch: MAIN
Changes since 1.3: +19 -1 lines
Diff to previous 1.3 (colored) to selected 1.56 (colored)
* add an entry for the `Mod-time' response
Revision 1.3 / (download) - annotate - [select for diffs], Wed Jul 14 05:16:04 2004 UTC (19 years, 11 months ago) by jfb
Branch: MAIN
Changes since 1.2: +1 -8 lines
Diff to previous 1.2 (colored) to selected 1.56 (colored)
make adding entries to the Entries file work
Revision 1.2 / (download) - annotate - [select for diffs], Wed Jul 14 04:32:42 2004 UTC (19 years, 11 months ago) by jfb
Branch: MAIN
Changes since 1.1: +2 -5 lines
Diff to previous 1.1 (colored) to selected 1.56 (colored)
prepare the entries interface so we can add entries
Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Tue Jul 13 22:02:40 2004 UTC (19 years, 11 months ago) by jfb
Branch: OpenCVS
CVS Tags: OpenCVS_0_1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored) to selected 1.56 (colored)
* initial import from the cvs-tools module
Revision 1.1 / (download) - annotate - [select for diffs], Tue Jul 13 22:02:40 2004 UTC (19 years, 11 months ago) by jfb
Branch: MAIN
Diff to selected 1.56 (colored)
Initial revision