1. 11 Sep, 2000 2 commits
    • Gerd Moellmann's avatar
      (byte-compile-defvar): Only cons onto · cc0f95a4
      Gerd Moellmann authored
      current-load-list in top-level forms.  Else this leaks a cons cell
      every time a defun is called.
    • Miles Bader's avatar
      (diff-apply-hunk): Function basically rewritten. Now understands · 7530b6da
      Miles Bader authored
        non-unified diffs.  Some functionality moved into `diff-hunk-text' and
        `diff-find-text'.  Add OTHER-FILE, DRY-RUN, POPUP, and NOERROR
        arguments.  If DRY-RUN is true, don't actually modify anything.  Only
        reposition point in the patched file if the patch succeeds.  Only pop
        up another window if POPUP is true.  Emit a message describing what
        happened if successful, and at what line-offset.  Automatically detect
        reversed hunks and do something appropriate.
      (diff-hunk-text, diff-find-text): New functions.
      (diff-filter-lines): Function removed.
      (diff-test-hunk): New function.
      (diff-goto-source): Rewritten in terms of diff-apply-hunk.
  2. 10 Sep, 2000 1 commit
  3. 09 Sep, 2000 1 commit
  4. 08 Sep, 2000 2 commits
  5. 07 Sep, 2000 13 commits
  6. 06 Sep, 2000 1 commit
  7. 05 Sep, 2000 4 commits
    • Stefan Monnier's avatar
      2000-09-05 Stefan Monnier <monnier@cs.yale.edu> · 099bd78a
      Stefan Monnier authored
      	* vc.el: (toplevel): Don't require `dired' at run-time.
      	(vc-dired-resynch-file): Remove autoload cookie.
      2000-09-05  Andre Spiegel  <spiegel@gnu.org>
      	* vc.el: Made several backend functions optional.
      	(vc-default-responsible-p): New function.
      	(vc-merge): Use RET for first version to trigger merge-news, not
      	prefix arg.
      	(vc-annotate): Handle backends that do not support annotation.
      	(vc-default-merge-news): Removed.  The existence of a merge-news
      	implementation is now checked on caller sites.
      	* vc-hooks.el (vc-default-mode-line-string): Removed CVS special
      	* vc-cvs.el (vc-cvs-mode-line-string): New function, handles the
      	special case that has been removed from the default in vc-hooks.el.
      2000-09-05  Stefan Monnier  <monnier@cs.yale.edu>
      	* vc.el (vc-log-edit): Properly handle the case where FILE is nil.
      2000-09-05  Andre Spiegel  <spiegel@gnu.org>
      	* vc-hooks.el: Require vc during compilation.
      	(vc-file-setprop): Use `vc-touched-properties' if bound by the new
      	macro `with-vc-properties' in vc.el.
      	(vc-file-getprop): Doc fix.
      	(vc-after-save): Call `vc-dired-resynch-file' only if vc is loaded.
      	* vc.el: Require dired-aux during compilation.
      	(vc-name-assoc-file): Moved to vc-sccs.el.
      	(with-vc-properties): New macro.
      	(vc-checkin, vc-checkout, vc-revert, vc-cancel-version,
      	vc-finish-steal): Use it.
      	(vc-cancel-version): Moved RCS-specific code to vc-rcs.el.  The call
      	to the backend-specific function is now supposed to do the checkout,
      	(vc-log-edit): Handle FILE being nil and added a FIXME for log-edit.
      	* vc-cvs.el (vc-cvs-checkin, vc-cvs-checkout): Don't bother to
      	set file properties; that gets done in the generic code now.
      	* vc-rcs.el (vc-rcs-uncheck): Renamed to `vc-rcs-cancel-version'.
      	Changed parameter list, added code from vc.el that does the
      	checkout, possibly with a double-take.
      	* vc-sccs.el (vc-sccs-name-assoc-file): Moved here from vc.el.
      	(vc-sccs-add-triple, vc-sccs-rename-file, vc-sccs-lookup-triple): Use
      	the above under the new name.
      	(vc-sccs-uncheck): Renamed to `vc-sccs-cancel-version'.  Changed
      	parameter list, added checkout command.
      	(vc-sccs-checkin, vc-sccs-checkout): Don't bother to set file
      	properties; that gets done in the generic code now.
      2000-09-05  Stefan Monnier  <monnier@cs.yale.edu>
      	* vc.el: Docstring fixes (courtesy of checkdoc).
      2000-09-05  Stefan Monnier  <monnier@cs.yale.edu>
      	* vc.el (vc-checkout-writable-buffer-hook)
      	(vc-checkout-writable-buffer): Remove.
      	(vc-start-entry): Always call vc-log-edit, never vc-log-mode.
      	(vc-log-mode): Make it into a clean derived major mode.
      	(vc-log-edit): Mark buffer unmodified (as vc-log-mode did) and use
      	vc-log-mode if log-edit is not available.
      	(vc-dired-mode-map): Don't set-keymap-parent yet.
      	(vc-dired-mode): Do set-keymap-parent here.
      	(vc-dired-buffers-for-dir): Nop if dired is not loaded.
    • Gerd Moellmann's avatar
      *** empty log message *** · 08ba3862
      Gerd Moellmann authored
    • Dave Love's avatar
      (help-manyarg-func-alist): Add ml-prefix-argument-loop, · 3b4429b4
      Dave Love authored
      insert-before-markers-and-inherit.  Now checked systematically!
    • Gerd Moellmann's avatar
      *** empty log message *** · 877055f6
      Gerd Moellmann authored
  8. 04 Sep, 2000 4 commits
    • Dave Love's avatar
      (mouse-major-mode-menu, mouse-popup-menubar): Run · 179fc9ef
      Dave Love authored
    • Gerd Moellmann's avatar
      *** empty log message *** · 54baed30
      Gerd Moellmann authored
    • Gerd Moellmann's avatar
      (vc-sccs-latest-on-branch-p): Always return t; we · 7a004b71
      Gerd Moellmann authored
      don't support anything else under SCCS yet.
      (vc-sccs-update-changelog): Dummy implementation that
      simply signals an error.
      (vc-sccs-state-heuristic): Use
      (vc-sccs-workfile-unchanged-p): Fix call to
      (vc-sccs-state-heuristic): Don't use file-writable-p.
      (vc-sccs-workfile-unchanged-p): Fix parenthesis.
      (vc-sccs-print-log, vc-sccs-diff): Insert in the current buffer.
      (vc-sccs-workfile-unchanged-p): Rewritten.
      (vc-sccs-diff): Remove optional arg CMP.
      (vc-sccs-state): Call vc-workfile-unchanged-p, not the
      SCCS-specific function.
      (vc-sccs-state): Fix obviously wrong parenthesis.
      (vc-sccs-state-heuristic): Use file-writable-p instead of
      comparing userids.
      (vc-sccs-checkout): Use `unless'.
      (vc-sccs-state): Use with-temp-buffer.
      (vc-sccs-workfile-version): Use with-temp-buffer and new
      vc-parse-buffer and don't bother setting the property.
      (vc-sccs-add-triple): Use with-current-buffer and
      (vc-sccs-lookup-triple): New vc-parse-buffer and turn cond -> if.
       Merge in
      code from vc-sccs-hooks.el.
      (vc-sccs-release, vc-sccs-system-release): Remove.  Don't require
      'vc anymore.
      (vc-sccs-responsible-p): Use expand-file-name instead of concat
      and file-directory-p instead of file-exists-p.
      (vc-sccs-check-headers): Simplify the regexp.
      (vc-sccs-responsible-p, vc-sccs-register): Use
      `vc-sccs-search-project-dir' instead of `vc-sccs-project-dir'.
      (vc-sccs-header): New var.
      (vc-sccs-rename-file): Renamed from
      vc-sccs-record-rename.  Use `find-file-noselect' rather than
      `find-file' and call `vc-rename-master' to do the actual move.
      (vc-sccs-diff): Remove unused `backend' variable.
      (tail): Provide vc-sccs.
      (vc-sccs-checkout): Removed call to
      vc-file-clear-masterprops.  If writable, set vc-state to 'edited
      rather than user login name.
       Require 'vc and 'vc-sccs-hooks.
      (vc-sccs-register-switches): New var, copied off of vc-rcs-hooks.
      (vc-sccs-latest-on-branch-p): Add a `FIXME' for a call to the
      unknown `vc-latest-version' function.  It should probably refer to
      vc-workfile-version or somesuch, but it's very unclear to me and I
      don't have SCCS to test things.
      (vc-sccs-steal-lock): Renamed from `vc-sccs-steal'.
      (vc-BACKEND-responsible-p): New
      (vc-BACKEND-register): Renamed from `vc-BACKEND-admin'.  Removed
      query option.  Redocumented.
      (vc-sccs-diff): Function changed name from
      `vc-backend-diff'.  This makes `vc-diff' work.
      (vc-sccs-release): Doc fix.
      (vc-sccs-admin): Added the query-only option as
      required by the vc.el file.
      (vc-sccs-latest-on-branch-p): Function added.
      (vc-sccs-diff): Function added.
      (vc-sccs-checkout): Added function `vc-sccs-checkout'.
       Require vc when compiling.
      (vc-sccs-print-log, vc-sccs-assign-name, vc-sccs-merge)
      (vc-sccs-check-headers, vc-sccs-steal, vc-sccs-uncheck)
      (vc-sccs-checkin, vc-sccs-logentry-check): New functions (code
      from vc.el).
      (vc-sccs-add-triple, vc-sccs-record-rename)
      (vc-sccs-lookup-triple): Moved from vc.el and renamed.
      (vc-sccs-admin): Doc fix.
      (vc-admin-sccs): Added from vc.el
      Renamed from vc-sccs-backend-release.
      (vc-sccs-release): Moved from vc.el.
      (vc-sccs-backend-release): New function.
    • Dave Love's avatar
      (custom-set-variables): Print message about errors in · a033ea13
      Dave Love authored
  9. 03 Sep, 2000 1 commit
  10. 02 Sep, 2000 2 commits
  11. 01 Sep, 2000 3 commits
  12. 31 Aug, 2000 2 commits
  13. 30 Aug, 2000 4 commits