1. 27 Jun, 1995 1 commit
  2. 26 Jun, 1995 1 commit
  3. 23 Jun, 1995 1 commit
  4. 22 Jun, 1995 1 commit
  5. 20 Jun, 1995 2 commits
  6. 18 Jun, 1995 1 commit
  7. 16 Jun, 1995 2 commits
  8. 15 Jun, 1995 1 commit
    • Richard M. Stallman's avatar
      The RCS status is now found by reading the · 02d383eb
      Richard M. Stallman authored
      master file directly, instead of using rlog.  The properties
      retrieved from the master file are kept separately.  The two
      main properties, `vc-workfile-version' and `vc-locking-user',
      are inferred from those master file properties if the
      information cannot be found elsehow.  All properties are
      consistently cached now.
      
      (vc-master-info, vc-log-info, vc-fetch-properties): functions
      removed.  Their job is now done by `vc-fetch-master-properties'
      and `vc-insert-file'.
      
      (vc-fetch-master-properties):  new function, replaces
      vc-fetch-properties.  Retrieves all the properties that can be
      found in the master file, for all three backends (calls
      `cvs status' in the CVS case).
      
      (vc-insert-file):  new function.  Inserts an arbitrary file
      into the current buffer, optionally chunkwise, until a certain
      regexp shows up.
      
      (vc-parse-locks):  new function.  Translates SCCS or RCS lock
      lists, as found in the master files, into lisp lists.  Sets
      the new property `vc-master-locks'.
      
      (vc-locked-version):  property removed.  Was unnecessary, and
      only referenced in vc-hooks.el.
      (vc-head-version, vc-default-branch, vc-master-locks):
      new properties.
      
      (vc-top-version):  new name for the old property
      `vc-branch-version'.  ("top-version" is better because it
      might also be the RCS "head" if there is no default branch.)
      
      (vc-master-locking-user):  replaces `vc-true-locking-user'.
      Scans the new `vc-master-locks' property, yielding the master
      file's idea of who is locking the current workfile version.
      
      (vc-locking-user):  slightly changed to use the new properties.
      Changed the actual property value for an unlocked file to
      'none.  This is to distinguish it from an unknown locking
      state, which is represented by nil.  The function vc-locking-user
      returns nil if the property is 'none, to make it compatible with
      the rest of VC.
      
      (vc-consult-rcs-headers, vc-master-locking-user):  adpated to
      the new 'none-value of vc-locking-user.
      
      (vc-consult-rcs-headers): fixed bug that prevented
      (not vc-consult-headers) from working
      
      (vc-file-not-found-hook): set the default-directory of the new
      buffer before check-out. (Otherwise, setting vc-keep-workfiles
      to nil doesn't work.)
      
      (vc-occurences, vc-branch-p): functions removed (no longer needed)
      
      Reordered some defuns so they are grouped in a logical way.
      02d383eb
  9. 07 Jun, 1995 1 commit
  10. 27 May, 1995 1 commit
  11. 12 May, 1995 1 commit
  12. 26 Apr, 1995 2 commits
    • Karl Heuer's avatar
      (vc-default-backend, vc-path, vc-consult-headers): · e1c0c2d1
      Karl Heuer authored
      (vc-mistrust-permissions, vc-keep-workfiles): Customization
      variables, moved here from vc.el.
      (vc-trunk-p, vc-minor-revision, vc-branch-part): Moved to vc.el.
      (vc-backend): Renamed from vc-backend-deduce.  Callers changed.
      (vc-match-substring, vc-lock-file, vc-parse-buffer, vc-master-info):
      (vc-log-info, vc-consult-rcs-headers, vc-fetch-properties):
      (vc-backend-subdirectory-name, vc-locking-user, vc-true-locking-user):
      (vc-latest-version, vc-your-latest-version, vc-branch-version):
      (vc-workfile-version): Functions moved here from vc.el.
      (vc-log-info): Log program is no longer called through vc-do-command,
      to avoid including the lengthy vc-do-command here.  It is done
      directly through call-process now.  Removed obsolete parameter LAST.
      (vc-status): Replaced by the much simpler version that gets the
      information from the file properties.  Removed the obsolete
      parameter vc-type.
      (vc-parse-buffer): changed format of PATTERNS.  Each pattern is now a
      list of 2 to 3 elements, the first being the pattern, the remaining
      ones the numbers of subexpressions to refer to.
      (vc-cvs-status): New per-file property, only used in the CVS case.
      (vc-cvs-status): New function.
      (vc-log-info): Adapted to new version of vc-parse-buffer
      (vc-fetch-properties): Adapted to new version of vc-parse-buffer.
      Better search regexp for CVS latest version.
      (vc-log-info): Search for branch version only in the RCS case,
      since this doesn't make sense for SCCS or CVS.
      (vc-fetch-properties): CVS case: set vc-cvs-status.
      (vc-locking-user): CVS case: use vc-cvs-status to determine if
      the file is up-to-date, thus avoiding an expensive call to
      vc-workfile-unchanged-p.
      (vc-mode-line): Re-activated the code that makes the buffer read-only
      if the work file is unchanged.  But the status of the work file
      is now determined by looking at the already-computed mode string.
      e1c0c2d1
    • Richard M. Stallman's avatar
      (vc-buffer-backend): New function. · f2ee4191
      Richard M. Stallman authored
      Also new variable, local in all buffers.
      (vc-kill-buffer-hook): Kill local vc-buffer-backend.
      
      (vc-kill-buffer-hook): Don't put it on kill-buffer-hook.
      (vc-file-clearprops): Function moved here.
      (vc-workfile-version): Function moved here.
      (vc-mode-line): Don't call vc-locking-user.
      
      Add branch support for RCS;  treat CVS more like RCS and SCCS.
      (vc-occurences, vc-trunk-p, vc-branch-p, vc-minor-revision)
      (vc-branch-part): new functions that operate on RCS revision numbers.
      (vc-status): Use the new property vc-workfile-version
      and vc-locking-user (see vc.el).  Display "locking state" for CVS.
      (vc-find-cvs-master): Search for file name case-sensitively, store
      version number into the new property vc-workfile-version.
      (vc-find-file-hook): kill any remaining properties.  Like this,
      when re-finding a file (for example because it has changed on disk),
      the version control state gets re-computed.
      (vc-mode-line): CVS case: make the buffer read-only if the file
      is unmodified.
      (vc-kill-buffer-hook): Clear file's vc props when buffer is killed.
      f2ee4191
  13. 15 Dec, 1994 1 commit
  14. 09 Nov, 1994 1 commit
  15. 07 Nov, 1994 1 commit
  16. 03 Oct, 1994 1 commit
    • Richard M. Stallman's avatar
      (vc-status): Handle CVS. · 174edc13
      Richard M. Stallman authored
      (vc-find-cvs-master): New function.
      (vc-master-templates): Add vc-find-cvs-master.
      (vc-registered): Allow vc-master-templates to contain atoms, and
      call them with dirname and basename as arguments.
      
      (vc-mode-line): Use equal, not string-equal, to
      compare the result of vc-locking-user.
      174edc13
  17. 22 Sep, 1994 1 commit
    • Richard M. Stallman's avatar
      (vc-menu-map): Set up menu items. · 624c0e9d
      Richard M. Stallman authored
      (vc-status): Use vc-path when calling prs.
      
      (vc-status): New arg vc-type.
      
      (vc-file-not-found-hook): Use save-excursion.
      
      (vc-status): Renamed from vc-rcs-status.  Handle SCCS.
      (vc-display-status): Renamed from vc-rcs-status.
      (vc-mode-line): Call vc-status for SCCS files too.
      624c0e9d
  18. 19 May, 1994 1 commit
  19. 13 May, 1994 1 commit
  20. 03 May, 1994 1 commit
  21. 29 Apr, 1994 1 commit
  22. 24 Apr, 1994 1 commit
  23. 27 Mar, 1994 1 commit
  24. 04 Feb, 1994 1 commit
  25. 02 Feb, 1994 1 commit
  26. 24 Dec, 1993 1 commit
  27. 25 Nov, 1993 1 commit
  28. 15 Sep, 1993 1 commit
  29. 27 Aug, 1993 1 commit
  30. 29 Jul, 1993 1 commit
  31. 27 Jul, 1993 1 commit
  32. 20 Jul, 1993 1 commit
  33. 19 Jul, 1993 1 commit
  34. 15 Jul, 1993 1 commit
  35. 12 Jul, 1993 1 commit
  36. 07 Jul, 1993 1 commit
  37. 05 Jul, 1993 1 commit
    • Paul Eggert's avatar
      (vc-name): Moved from vc.el; vc-rcs-status now uses it. · a03140c8
      Paul Eggert authored
      (vc-name, vc-backend-deduce): Set both vc-name and vc-backend
      properties, to avoid calling vc-registered unnecessarily when
      the other property is needed.
      (vc-rcs-status): Yield only status of locks; do not try to yield " REV"
      if there are no locks, since this cannot be done easily if there are
      branches.  Use vc-name instead of duplicating its function incorrectly.
      Fix off-by-one bug when inserting master header pieces.  Read headers
      8192 bytes at a time instead of 100.  Don't bother to expand-file-name.
      (vc-rcs-glean-field): Removed.
      a03140c8