1. 22 Feb, 2013 1 commit
  2. 21 Feb, 2013 1 commit
  3. 18 Feb, 2013 1 commit
    • Michael Albinus's avatar
      * eshell/em-unix.el (eshell/su): Require tramp. · c9bcc580
      Michael Albinus authored
      (eshell/sudo): Require tramp.  Remove now unnecessary check.
      
      * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
      `tramp-current-connection' in order to avoid an error when several
      commands are invoked in a short time in eshell and friends.
      c9bcc580
  4. 16 Feb, 2013 1 commit
  5. 13 Feb, 2013 1 commit
    • Michael Albinus's avatar
      Use ControlMaster where applicable. (Bug#13677) · d7291032
      Michael Albinus authored
      * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
      replacing `tramp-detect-ssh-controlmaster'.
      (tramp-default-method): Use it.
      
      * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
      [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
      arguments.
      [scpc, rsyncc]: Remove methods.
      (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
      and "ssh2_old".
      (tramp-do-copy-or-rename-file-out-of-band):  Change trace level.
      (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
      d7291032
  6. 12 Feb, 2013 1 commit
  7. 03 Feb, 2013 1 commit
  8. 31 Jan, 2013 1 commit
  9. 30 Jan, 2013 2 commits
  10. 29 Jan, 2013 3 commits
  11. 24 Jan, 2013 1 commit
  12. 21 Jan, 2013 1 commit
    • Michael Albinus's avatar
      Improve XEmacs compatibility. · a36e2d26
      Michael Albinus authored
      * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
      
      * net/tramp-adb.el (top): Require `time-date'.
      (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
      (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file): Use
      `tramp-file-name-handler'.
      (tramp-adb-maybe-open-connection): Use
      `tramp-compat-set-process-query-on-exit-flag'.
      
      * net/tramp-sh.el (tramp-sh-handle-file-acl): Use
      `tramp-compat-funcall'.
      
      * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
      `tramp-compat-funcall'.
      a36e2d26
  13. 07 Jan, 2013 1 commit
    • Michael Albinus's avatar
      * net/tramp.el (tramp-default-host-alist): New defcustom. · b49eebcc
      Michael Albinus authored
      (tramp-find-host): Use it.
      (tramp-eshell-directory-change): Moved from tramp-sh.el.  Add to
      `eshell-directory-change-hook'.
      
      * net/tramp-adb.el (top): Add adb specific entry in
      `tramp-default-host-alist'.
      (tramp-adb-file-name-host): Remove function.
      (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
      Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
      
      * net/tramp-sh.el : Move eshell integration code to tramp.el.
      b49eebcc
  14. 04 Jan, 2013 1 commit
  15. 03 Jan, 2013 1 commit
  16. 02 Jan, 2013 1 commit
  17. 01 Jan, 2013 1 commit
  18. 30 Dec, 2012 1 commit
  19. 29 Dec, 2012 2 commits
  20. 27 Dec, 2012 1 commit
  21. 19 Dec, 2012 1 commit
  22. 17 Dec, 2012 1 commit
    • Michael Albinus's avatar
      Add support for preserving ACL entries of files. · 53b6a8b1
      Michael Albinus authored
      * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
      `set-file-acl' handlers.
      
      * net/tramp-adb.el (tramp-adb-handle-copy-file): Handle
      PRESERVE-EXTENDED-ATTRIBUTES.
      
      * net/tramp-compat.el (tramp-compat-copy-file): Handle
      PRESERVE-EXTENDED-ATTRIBUTES.
      
      * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add
      `file-acl' and `set-file-acl' handlers.
      (tramp-gvfs-handle-copy-file): Handle
      PRESERVE-EXTENDED-ATTRIBUTES.
      (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl): New
      defuns.
      
      * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add
      `file-acl' and `set-file-acl' handlers.
      (tramp-remote-acl-p, tramp-sh-handle-file-acl)
      (tramp-sh-handle-set-file-acl): New defuns.
      (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file): Handle
      PRESERVE-EXTENDED-ATTRIBUTES.
      
      * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add
      `file-acl' and `set-file-acl' handlers.
      (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
      53b6a8b1
  23. 14 Dec, 2012 1 commit
    • Paul Eggert's avatar
      Fix permissions bugs with setgid directories etc. · 97976f9f
      Paul Eggert authored
      * configure.ac (BSD4_2): Remove; no longer needed.
      * admin/CPP-DEFINES (BSD4_2): Remove.
      * doc/lispintro/emacs-lisp-intro.texi (Files List):
      directory-files-and-attributes now outputs t for attribute that's
      now a placeholder.
      * doc/lispref/files.texi (Testing Accessibility): Document GROUP arg
      of file-ownership-preserved-p.
      (File Attributes): Document that 9th element is now
      just a placeholder.
      * doc/lispref/os.texi (User Identification): Document new functions group-gid,
      group-real-gid.
      * etc/NEWS: Document changes to file-attributes,
      file-ownership-preserved-p.
      Mention new functions group-gid, group-real-gid.
      * lisp/files.el (backup-buffer): Don't rely on 9th output of
      file-attributes, as it's now a placeholder.  Instead, use the new
      optional arg of file-ownership-preserved-p.
      (file-ownership-preserved-p): New optional arg GROUP.
      Fix mishandling of setuid directories that would cause this
      function to return t when it should have returned nil.
      Document what happens if the file does not exist, and when
      it's not known whether the ownership will be preserved.
      * lisp/net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
      Likewise.
      (tramp-get-local-gid): Use group-gid for integer, as that's
      faster and more reliable.
      * src/dired.c (Ffile_attributes): Return t as the 9th attribute,
      to mark it as a placeholder.  The old value was often wrong.
      The only user of this attribute has been changed to use
      file-ownership-preserved-p instead, with its new group arg.
      * src/editfns.c (Fgroup_gid, Fgroup_real_gid): New functions.
      
      Fixes: debbugs:13125
      97976f9f
  24. 06 Dec, 2012 1 commit
    • Michael Albinus's avatar
      * net/tramp.el (tramp-replace-environment-variables): Hide · 5504e2c7
      Michael Albinus authored
      compiler warning.
      (tramp-file-name-for-operation): Remove `executable-find',
      `start-process', `call-process' and `call-process-region'.
      
      * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
      
      * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
      compatibility.
      
      * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
      5504e2c7
  25. 05 Dec, 2012 2 commits
  26. 27 Nov, 2012 1 commit
  27. 19 Nov, 2012 1 commit
  28. 18 Nov, 2012 2 commits
    • Paul Eggert's avatar
      More minor time fixes. · 535efd4a
      Paul Eggert authored
      * calendar/time-date.el: Commentary fix.
      * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
      too much other code depends on (0 0) time stamps.
      * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
      Add a couple of FIXME comments.
      535efd4a
    • Paul Eggert's avatar
      Minor cleanup for times as lists of four integers. · 0c93aa38
      Paul Eggert authored
      * doc/lispref/os.texi (Time Parsing): Time values can now be four integers.
      * lisp/files.el (dir-locals-directory-cache):
      * lisp/ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
      Doc fixes.
      * lisp/net/tramp-sh.el (tramp-do-file-attributes-with-ls):
      * lisp/ps-bdf.el (bdf-file-newer-than-time):
      Process four-integers time stamps, not two.  Doc fixes.
      0c93aa38
  29. 09 Oct, 2012 1 commit
    • Michael Albinus's avatar
      * net/tramp.el (tramp-debug-message): Remove · 1d51f99c
      Michael Albinus authored
      "tramp-with-progress-reporter" from regexp of ignored functions.
      (with-tramp-progress-reporter): Rename from
      `tramp-with-progress-reporter'.
      (with-tramp-file-property, with-tramp-connection-property): Move
      from tramp-cache.el, rename from `with-file-property' and
      `with-connection-property', respectively.
      
      * net/tramp-cache.el: Remove `with-file-property' and
      `with-connection-property'.
      
      * net/tramp.el:
      * net/tramp-gvfs.el:
      * net/tramp-sh.el:
      * net/tramp-smb.el: Adapt callees.
      
      * net/trampver.el: Update release number.
      1d51f99c
  30. 29 Aug, 2012 1 commit
  31. 17 Aug, 2012 1 commit
  32. 14 Aug, 2012 1 commit
  33. 08 Aug, 2012 1 commit
  34. 06 Jul, 2012 1 commit