Skip to content
Snippets Groups Projects
  1. Jun 03, 1996
  2. May 30, 1996
  3. May 29, 1996
  4. May 28, 1996
  5. May 27, 1996
  6. May 26, 1996
  7. May 25, 1996
  8. May 24, 1996
    • noel's avatar
      * client.c (start_tcp_server): Error message modified to tell the · 2db88dc0
      noel authored
      user to use ":server:" instead of setting CVS_CLIENT_PORT to a
      negative number.
      * main.c (main): Add #ifdefs for turning off buffering of
      stdio/stderr, so we don't get it by default.
      * commit.c (commit_filesdoneproc): Print the repository and root
      directories as part of the error message.
      * main.c (main): Don't buffer stdout or stderr.  It's inefficient,
      but it then produces the right output for sanity.sh.
      * main.c (usg): revert usage strings for `-H' flag change.
      * client.c (filter_through_gunzip): use "gzip -d" instead of
      "gunzip," since there's no good reason (on NT at least) to have an
      extra copy of gzip.exe copied to gunzip.exe (Arrrrgh!  No symbolic
      links!).
      * mkmodules.c (init): check to see that we have the correct number
      of arguments or print out the usage message (used to be argc > 1,
      should be argc != 1, because help forces argc == -1 as a special
      case).
      * root.c (parse_cvsroot): removed "rsh" as an alias to "server" in
      the method section.
      * main.c (main): new variable help so we can support the `cvs -H
      cmd' convention.  Reverts change of 26 Apr 96 which removed this
      feature.
      * main.c (main): update error message if parse_cvsroot fails.
      * server.c (serve_root): same.
      (serve_init): same.
      * client.c (start_tcp_server): get rid of the "fall through"
      stuff, now that we have access methods.
      (start_server): switch off the access method to choose routine
      that starts the server.
      (start_tcp_server): tofd wasn't getting set to -1 early enough,
      because a call to error for bind or gethostbyname might fail and
      the subsequent error check to see if the connection had been made
      would fail.
      * root.c: new variable method_names for error reporting purposes.
      * server.c: moved kerberos #includes from main.c for the
      kserver_authenticate_connection routine.
      * server.c (serve_init): use the new return value from
      parse_cvsroot.
      (serve_root): same.
      * main.c (main): same.
      * root.c (parse_cvsroot): fix indentation, add a return value
      which tells whether the command succeeded or failed.
      * main.c (main): move the setting of the UMASK environment
      variable inside the stuff that gets done if the user is NOT asking
      for help, so we don't signal any errors prematurely (don't want to
      give an error because we can't parse an environment variable
      correctly if the user asks for help).  Similar mods for the code
      that tries to get the working directory.
      Also make CVSADM_Root a local variable instead of a global, since
      its scope is only about 20 lines here!
      * server.c (kserver_authenticate_connection): moved code from
      main.c to clean up MAIN.  Makes sense, since we already have a
      pserver_authenticate_connection.
      (pserver_authenticate_connection): rename from
      authenticate_connection.
      * main.c (main): reorganized the routine to eliminate variables
      help, help_commands, and version_flag.  Now the routine is much
      clearer, since we don't have to be checking to see if these
      variables are set.  One behavior that was a bug/feature which is
      now gone is an invocation like "cvs -H rtag" -- previously this
      would give usage for rtag, but now gives usage for cvs itself.
      The first behavior didn't make sense, especially since we say in
      the docs that command-line flags are position-specific.  *Reverted
      Above*
      * main.c (main): make sure we have a valid command name before we
      do anything else (moved the thing that looks for a command in CMDS
      to right after the GETOPT loop).  Added `kserver' and `pserver' to
      the table so they will be recognized; set their functions to
      SERVER so that help will be given when asked for.
      * expand_path.c (expand_variable): return CVSroot_original rather
      than CVSroot_directory.
      * main.c (main): save CVSroot in the env rather than
      CVSroot_original, since we might not have called PARSE_CVSROOT
      (this can happen if we use the -H option to a command).
      * root.c (parse_cvsroot): the parsing method was bogus for
      guessing when we had hostnames vs. directories specified.  Any
      ambiguity should be removed by having the user specify the access
      method.  If the access method isn't specified, choose
      server_method if the string contains a colon or local_method
      otherwise.
      * Changed CVSroot_remote back to client_active since the code
      reads better.
      * create_adm.c (Create_Admin): pass CVSroot_original instead of
      CVSroot_directory (oops!).
      * update.c (update_filesdone_proc): same.
      * server.c (serve_root): modify to use parse_cvsroot rather than
      goofing around with other variables.  Will need to fix
      parse_cvsroot to have a return value so we can return an error and
      quit gracefully if in server mode.
      (serve_init): same.
      * main.c: modify command table to remove client_* routines, since
      they no longer exist.
      (main): don't try to switch off non-existent field in command
      table! ;-)
      * client.h (client_*): removed prototypes for now non-existent
      functions.
      * client.c: remove proto for get_cvs_password, since it is now in
      cvs.h.  Modify routines to use new globals that describe CVSROOT
      rather than client_active, server_host, server_user, and
      server_cvsroot.
      (parse_cvsroot): removed function, since a more generic version
      now lives in root.c.
      (connect_to_pserver): remove call to parse_cvsroot, since main.c
      has already done it for us.
      (client_*): removed all of these routines, since they only call
      parse_cvsroot and then their respective operation functions.
      Since main.c has already called parse_cvsroot, we shouldn't bother
      with the extra function call, since client-server diffs are
      already handled in the core routines themselves.
      * main.c: remove CVSroot as a global variable.  Remove
      use_authenticating_server variable since we have a new
      `CVSroot_method' variable instead.
      (main): add `CVSroot' as a local variable.  Call parse_cvsroot
      after we're sure we have the right setting for `CVSroot.'
      * login.c (login): update to use new global variables.  Instead of
      old behavior which let the user type in user@host when prompted,
      it makes them do it in CVSROOT proper.  The routine still lets the
      user type the password, however.
      (get_cvs_password): make sure that CVSROOT is fully qualified
      before trying to find the entry in the .cvspass file.
      * cvs.h: add prototype for get_cvs_password.
      * add.c: use new globals that describe CVSROOT.
      * admin.c: same.
      * checkout.c: same.
      * commit.c: same.
      * create_adm.c: same.
      * diff.c: same.
      * edit.c: same.
      * expand_path.c: same.
      * history.c: same.
      * ignore.c: same.
      * import.c: same.
      * log.c: same.
      * mkmodules.c: same.
      * modules.c: same.
      * parseinfo.c: same.
      * patch.c: same.
      * rcs.c: same.
      * recurse.c: same.
      * release.c: same.
      * remove.c: same.
      * repos.c: same.
      * rtag.c: same.
      * status.c: same.
      * tag.c: same.
      * update.c: same.
      * watch.c: same.
      * wrapper.c: same.
      * root.c (Name_Root): remove error message that reports missing
      CVSROOT, since new code in main.c will catch it and also print out
      an error.
      (parse_cvsroot): new function -- takes a CVSROOT string and breaks
      it up into its component parts -- method, hostname, username, and
      repository directory.  Sets new global variables that describe the
      repository location more precisely: CVSroot_original,
      CVSroot_remote, CVSroot_method, CVSroot_username,
      CVSroot_hostname, CVSroot_directory for use by all other
      functions.  Checks for obvious errors in format of string.
      (main): a short routine to test parse_cvsroot from the command
      line.
      * cvs.h: add prototype for parse_cvsroot and extern definitions
      for new globals.
      * cvs.h: removed CVSroot variable, since we don't want other
      routines using the raw CVSROOT (also helped to find all of the
      refs to the variable!).
      2db88dc0
    • noel's avatar
      * README: In a few places it used to say "server" when it meant · 9d2e71a4
      noel authored
      "client".  Fix it.  Say explicitly that there is no server on NT.
      Fix typos (4,0 -> 4.0; CVS.system -> CVS).
      * README: explain which utilities are required for client support
      and local support in separate paragraphs.
      * filesubr.c (expand_wild): rename max to cvs_max to avoid
      conflicts with other already-defined routines.
      (get_homedir): rename min to cvs_min.
      * sanity.sh: Hacked version of src/sanity.sh for use under
      CYGWIN32.
      * filesubr.c (expand_wild): Since FindFirstFile and FindNextFile
      don't return the pathname of a file, we need to keep track of it
      ourselves.
      * options.h: Fix defines for DIFF and GREP.
      * run.c (run_exec): Flush stdout and stderr so we end up with the
      correct interleaving of output for sanity.sh.  This can be removed
      later, if desired.
      * README: mention that grep is mandatory.
      * filesubr.c (get_homedir): use both HOMEDRIVE and HOMEPATH to
      construct the user's home directory.
      9d2e71a4
    • noel's avatar
      * cvs.texinfo: Add index entries for :local:, etc. · 2d72ad5a
      noel authored
      (Password authentication server): Revert erroneous change
      regarding the format of CVSROOT/passwd file.
      * cvsclient.texi (Notes): Removed paragraphs about various server
      invocations which are now described in full in node "Connection
      and Authentication."
      (Requests): Include a note that "gzip-file-contents" doesn't
      follow the upper/lowercase convention and that unknown reqests
      always elicit a response, regardless of capitalization.
      * cvs.texinfo (Kerberos authenticated): Removed bogus version
      number.
      (Repository): explain the ":local:" access method.
      * cvsclient.texi (Goals): mention access methods.
      (Requests): add note about convention: requests starting with a
      captial letter don't have any expected response.  Made sure each
      request has a "Response expected" note.
      * cvs.texinfo (Remote repositories): add info about access
      methods; fix pserver info.
      2d72ad5a
    • noel's avatar
      * NEWS: Refer to cvs.texinfo and say "filesystem" not "fs". · cf38f1aa
      noel authored
      * NEWS: Mention all access methods.
      * NEWS: add info about access methods and document behavior change
      for "cvs login."
      * cvsnt.mak: remove all of those unnecessary libraries!  We only
      need advapi32.lib and wsock32.lib.
      cf38f1aa
    • kingdon's avatar
      * cvs.texinfo (Credits): Rewrite section on FAQ to reflect the · 09dd042b
      kingdon authored
      	fact that FAQ is no longer maintained.
      	(What is CVS?): Mention comp.software.config-mgmt as well as
      	info-cvs.  Mention the fact that info-cvs-request can be slow in
      	responding.
      	(What is CVS?): Rather than say that cvs is not a configuration
      	mangement system, say specifically what it lacks (change control,
      	etc.).  I added process control (which was sorely lacking from the
      	list of configuration management functionality), and deleted some
      	functions such as tape construction which are not provided by the
      	well-known configuration management systems.
      09dd042b
    • kingdon's avatar
      * INSTALL: Remove footnote 10. The only kind of change suitable · 92d76885
      kingdon authored
      	for listing here is fairly easy portability stuff.
      92d76885
    • kingdon's avatar
      * client.c (process_prune_candidates): Set prune_candidates to · c9ca5bd4
      kingdon authored
      	NULL at the end of the function.
      c9ca5bd4
    • kingdon's avatar
      * cvs.texinfo (checkout options): Add comment regarding · f543f5f0
      kingdon authored
      	subdirectories (lack of clarity pointed out by ian@cygnus.com).
      	Add comment about that infernal "short as possible" wording.
      f543f5f0
    • kingdon's avatar
      * cvs.texinfo (Global options): Fix error ("diff" -> "log") · 3bb9616f
      kingdon authored
      	(reported by ian@cygnus.com).
      	Remove footnote "Yes, this really should be fixed, and it's being
      	worked on"--it isn't clear what "this" is, and I doubt anyone is
      	working on it.
      3bb9616f
    • kingdon's avatar
      Mon May 6 14:12:03 1996 Ian Lance Taylor <ian@cygnus.com> · 827bd972
      kingdon authored
      	* checkout.c (checkout): In code to handle multiple arguments,
      	pass preload_update_dir, not where, to Create_Admin.
      	(checkout_proc): Pass preload_update_dir, not where, to
      	Create_Admin.
      
      Thu May 23 19:14:35 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
      
      	* server.c (server_set_sticky): Assert that update_dir != NULL.
      	* sanity.sh (basicb): New test; tests for Ian's fix to checkout.c
      	above.
      827bd972
  9. May 23, 1996
    • kingdon's avatar
      Thu May 23 1996 Ian Lance Taylor <ian@cygnus.com> · 7ef4ec4c
      kingdon authored
      	* patch.c (patch_fileproc): Don't ignore a file just because it is
      	in the Attic directory.
      
      Thu May 23 10:40:24 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
      
      	* sanity.sh (death): New tests death-{72a,76a0,76a1} test for bug
      	fixed by Ian's patch_fileproc change above.
      
      	* sanity.sh (death): Remove "temporary hack" in test 89.
      7ef4ec4c
    • kingdon's avatar
      Thu May 23 10:40:24 1996 Jim Kingdon <kingdon@harvey.cyclic.com> · 3b87ff53
      kingdon authored
      	* rcs.c (RCS_fast_checkout): If error closing file, and workfile
      	is NULL, use sout in error message instead of workfile.
      
      Thu May 23 1996  Ian Lance Taylor  <ian@cygnus.com>
      
      	* rcs.c (RCS_fast_checkout): Do a fast checkout in the case where
      	workfile is NULL and sout is a file name.
      3b87ff53
    • kingdon's avatar
      Wed May 22 19:06:23 1996 Mark Immel <immel@centerline.com> · 8cdb59e0
      kingdon authored
      	* update.c (checkout_file): New arg resurrecting_out, to provide
      	resurrecting flag to caller.
      	(join_file): New arg resurrecting.  Register with "0" if we are
      	the server and are resurrecting.
      	(update_fileproc): Pass the flag from checkout_file to join_file.
      
      Wed May 22 19:06:23 1996  Jim Kingdon  <kingdon@harvey.cyclic.com>
      
      	* sanity.sh (death): Test for above fix, in test 89 and new test 89a.
      8cdb59e0
  10. May 21, 1996
    • kingdon's avatar
      * cvsclient.texi (Requests): Clarify Directory with "." as local · d5b861e2
      kingdon authored
      	directory, and that filename for Questionable cannot contain "/".
      d5b861e2
    • kingdon's avatar
      * commit.c (find_fileproc): Call freevers_ts. · eed1afb1
      kingdon authored
      	* commit.c (find_*): Keep an ignlist, like update.c and client.c do.
      	* commit.c (commit): Process the files from the ignlists, once we
      	are connected to the server.
      	* sanity.sh (ignore): New tests 189e and 189f test for new
      	commit.c behavior (and client.c behavior, which is unchanged).
      	* sanity.sh (conflicts): Remove dir1 and sdir in parts of the test
      	where we aren't prepared for "? dir1" and similar output.
      eed1afb1
Loading