1. 25 Oct, 2011 1 commit
  2. 23 Sep, 2011 1 commit
  3. 19 Sep, 2011 1 commit
  4. 18 Sep, 2011 1 commit
    • Michael Albinus's avatar
      * net/tramp.el (top): Don't require 'shell. · 710dec63
      Michael Albinus authored
      (tramp-methods): Fix docstring.
      (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
      Return complete remote file name.  Handle "smb" case.  Use
      `tramp-tmpdir', if defined for the respective method.
      (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
      
      * net/tramp-compat.el (top): Require 'shell.
      
      * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
      (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
      `tramp-current-host'.
      (tramp-get-remote-tmpdir): Remove.
      
      * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
      `tramp-tmpdir' entries.
      (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
      (tramp-smb-handle-file-attributes): Ignore errors.
      (tramp-smb-wait-for-output): Check also for process end.
      710dec63
  5. 04 Sep, 2011 1 commit
    • Michael Albinus's avatar
      * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but · f5e29b9b
      Michael Albinus authored
      `tramp-cache-unload-hook' where appropriate.
      (tramp-methods): Rename `tramp-remote-sh' to
      `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
      (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
      
      * net/tramp-sh.el (top): Don't require 'shell.
      (tramp-methods): Add `tramp-remote-shell' and
      `tramp-remote-shell-args' entries.
      (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
      (tramp-sh-handle-shell-command): Remove.
      (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
      Use `tramp-remote-shell'.
      f5e29b9b
  6. 03 Aug, 2011 1 commit
  7. 27 Jul, 2011 1 commit
  8. 24 Jul, 2011 1 commit
  9. 08 Jul, 2011 1 commit
  10. 04 Jul, 2011 1 commit
    • Michael Albinus's avatar
      * net/tramp-cmds.el (tramp-cleanup-this-connection): New command. · 6d95bd46
      Michael Albinus authored
      * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
      (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
      Use it.
      (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
      `tramp-default-remote-path' does not exist.
      (tramp-send-command-and-read): New optional argument NOERROR.
      (tramp-open-connection-setup-interactive-shell)
      (tramp-get-remote-path, tramp-get-remote-stat): Use it.
      (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
      (tramp-process-sentinel): Flush also process' connection property.
      (tramp-sh-handle-start-file-process): Do not set process
      sentinel.  It is done now ...
      (tramp-maybe-open-connection): ... here.  (Bug#8929)
      6d95bd46
  11. 01 Jul, 2011 1 commit
  12. 23 Jun, 2011 1 commit
  13. 04 Jun, 2011 2 commits
    • Michael Albinus's avatar
      0c33dd17
    • Michael Albinus's avatar
      * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts) · f8f91c2b
      Michael Albinus authored
      (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
      (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
      (tramp-parse-putty):
      * net/tramp-sh.el (tramp-completion-function-alist-rsh)
      (tramp-completion-function-alist-ssh)
      (tramp-completion-function-alist-telnet)
      (tramp-completion-function-alist-su)
      (tramp-completion-function-alist-putty): Set `tramp-autoload'
      cookie.
      
      * net/tramp-ftp.el:
      * net/tramp-sh.el:
      * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
      load "tramp.el" `tramp-set-completion-function'.
      f8f91c2b
  14. 02 Jun, 2011 1 commit
  15. 05 May, 2011 1 commit
  16. 25 Apr, 2011 1 commit
    • Michael Albinus's avatar
      * net/tramp.el (tramp-process-actions): Add POS argument. Delete · bfd31217
      Michael Albinus authored
      region between POS and (pos).
      
      * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Use
      `nil' position in `tramp-process-actions' call.
      (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
      
      * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
      position in `tramp-process-actions' call.
      
      * net/trampver.el: Update release number.
      bfd31217
  17. 14 Apr, 2011 1 commit
  18. 12 Mar, 2011 1 commit
    • Michael Albinus's avatar
      Sync with Tramp 2.2.1. · f3afd36b
      Michael Albinus authored
      * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
      
      * net/trampver.el: Update release number.
      f3afd36b
  19. 09 Mar, 2011 1 commit
  20. 05 Feb, 2011 1 commit
  21. 03 Feb, 2011 1 commit
  22. 25 Jan, 2011 1 commit
  23. 18 Jan, 2011 1 commit
  24. 16 Jan, 2011 1 commit
  25. 31 Dec, 2010 1 commit
  26. 30 Dec, 2010 1 commit
    • Michael Albinus's avatar
      * net/tramp.el (tramp-default-method-alist) · b191c9d9
      Michael Albinus authored
      (tramp-default-user-alist)
      (tramp-local-host-regexp, tramp-prefix-domain-format)
      (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
      
      * net/tramp-ftp.el:
      * net/tramp-gvfs.el:
      * net/tramp-gw.el:
      * net/tramp-imap.el:
      * net/tramp-sh.el:
      * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
      code of `tramp-default-method-alist' and `tramp-default-user-alist'.
      b191c9d9
  27. 27 Dec, 2010 1 commit
  28. 14 Dec, 2010 1 commit
  29. 02 Dec, 2010 1 commit
    • Michael Albinus's avatar
      * net/tramp.el (tramp-local-host-regexp): Add "localhost6". · 66feec8b
      Michael Albinus authored
      (tramp-file-name-port): Check also for `tramp-default-port'.
      (tramp-get-connection-name): New defun.
      (tramp-get-connection-process): Use it.
      (tramp-debug-message): Extend function exclude list.
      (tramp-drop-volume-letter): Fix doc string.
      
      * net/tramp-cmds.el: Remove solved todo item.
      
      * net/tramp-efs.el:
      * net/tramp-ftp.el:
      * net/tramp-gvfs.el:
      * net/tramp-gw.el:
      * net/tramp-imap.el:
      * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
      and `tramp-default-user-alist', respectively.
      
      * net/tramp-gw.el (tramp-gw-open-connection): Use
      `tramp-get-connection-name' and `tramp-get-connection-buffer'.
      
      * net/tramp-imap.el (tramp-imap-make-iht): Use just
      `tramp-file-name-port'.
      
      * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
      and "psftp".  Exchange "%k" marker with options.
      (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
      Compute size of link target.
      (tramp-do-copy-or-rename-file-out-of-band). Move setting of
      `tramp-current-*' up due to gateway methods.  Optimze computing of
      copy arguments.  Use `tramp-get-connection-name' and
      `tramp-get-connection-buffer'.  Improve debug messages.
      (tramp-compute-multi-hops): Remove port determination.
      (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
      
      * net/trampver.el: Update release number.
      66feec8b
  30. 20 Nov, 2010 1 commit
    • Michael Albinus's avatar
      Sync with Tramp 2.2.0. · 7398933f
      Michael Albinus authored
      * net/tramp.el (tramp-handle-insert-file-contents): Don't use
      `file-remote-p' (due to compatibility).
      
      * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
      (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
      
      * net/trampver.el: Update release number.
      7398933f
  31. 13 Nov, 2010 1 commit
    • Michael Albinus's avatar
      * net/tramp-compat.el (tramp-compat-line-beginning-position) · 6e060cee
      Michael Albinus authored
      (tramp-compat-line-end-position): Remove them.
      
      * net/tramp.el (tramp-parse-rhosts-group)
      (tramp-parse-shosts-group, tramp-parse-sconfig-group)
      (tramp-parse-hosts-group, tramp-parse-passwd-group)
      (tramp-parse-netrc-group, tramp-parse-putty-group)
      * net/tramp-cmds.el (tramp-append-tramp-buffers)
      * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
      (tramp-sh-handle-file-selinux-context)
      (tramp-sh-handle-file-name-all-completions)
      (tramp-sh-handle-insert-directory)
      (tramp-sh-handle-expand-file-name, tramp-find-executable)
      (tramp-wait-for-output, tramp-send-command-and-read)
      * net/tramp-smb.el (tramp-smb-read-file-entry)
      (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
      
      * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
      `point-at-bol'.
      (tramp-remote-coding-commands): Add an alternative using "base64
      -d -i".  This is needed for older base64 versions from GNU
      coreutils.  Reported by Klaus Reichl
      <Klaus.Reichl@thalesgroup.com>.
      6e060cee
  32. 21 Oct, 2010 1 commit
  33. 19 Oct, 2010 1 commit
  34. 15 Oct, 2010 1 commit
  35. 06 Oct, 2010 1 commit
  36. 05 Oct, 2010 1 commit
    • Michael Albinus's avatar
      * net/tramp.el (tramp-handle-directory-files-and-attributes) · bd8fadca
      Michael Albinus authored
      (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
      New defuns, taken from tramp-smb.el.
      (tramp-coding-system-change-eol-conversion)
      (tramp-set-process-query-on-exit-flag): Removed.
      
      * net/tramp-compat.el (top): Do not check for byte-compiler
      objects.
      (tramp-compat-coding-system-change-eol-conversion)
      (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
      from tramp.el.
      
      * net/tramp-gvfs.el:
      * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
      by `tramp-compat-set-process-query-on-exit-flag'.
      
      * net/tramp-imap.el (tramp-imap-file-name-handler-alist): Use
      `tramp-handle-directory-files-and-attributes',
      `tramp-handle-file-exists-p' and
      `tramp-handle-file-newer-than-file-p'.
      (tramp-imap-handle-file-exists-p)
      (tramp-imap-handle-file-executable-p)
      (tramp-imap-handle-file-readable-p)
      (tramp-imap-handle-directory-files-and-attributes)
      (tramp-imap-handle-file-newer-than-file-p): Removed.
      
      * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
      by `tramp-compat-set-process-query-on-exit-flag' and
      `tramp-coding-system-change-eol-conversion' by
      `tramp-compat-coding-system-change-eol-conversion'.
      
      * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use
      `tramp-handle-directory-files-and-attributes',
      `tramp-handle-file-exists-p' and
      `tramp-handle-file-newer-than-file-p'.
      (tramp-smb-handle-directory-files-and-attributes)
      (tramp-smb-handle-file-exists-p)
      (tramp-smb-handle-file-newer-than-file-p): Removed.
      (tramp-smb-maybe-open-connection): Replace
      `tramp-set-process-query-on-exit-flag' by
      `tramp-compat-set-process-query-on-exit-flag'.
      bd8fadca
  37. 04 Oct, 2010 1 commit
    • Michael Albinus's avatar
      Continue reorganization of load dependencies. (Bug#7156) · 4a93e698
      Michael Albinus authored
      * net/tramp.el (tramp-handle-file-local-copy-hook)
      (tramp-delete-temp-file-function): Move down.
      (tramp-exists-file-name-handler): Move up.
      (tramp-register-file-name-handlers): Simplify autoload.
      (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
      (tramp-handle-directory-files, tramp-handle-dired-uncache)
      (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
      (tramp-handle-file-name-completion)
      (tramp-handle-file-name-directory)
      (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
      (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
      (tramp-handle-find-backup-file-name)
      (tramp-handle-insert-file-contents, tramp-handle-load)
      (tramp-handle-substitute-in-file-name)
      (tramp-handle-unhandled-file-name-directory)
      (tramp-mode-string-to-int, tramp-local-host-p)
      (tramp-make-tramp-temp-file): Moved from tramp-sh.el.
      
      * net/tramp-gvfs.el (top):
      * net/tramp-smb.el (top): Do not require 'tramp-sh.
      
      * net/tramp-sh.el (all): Move several objects to tramp.el, see
      there.  Rename `tramp-handle-*' to `tramp-sh-handle-*'.
      4a93e698
  38. 02 Oct, 2010 1 commit
    • Michael Albinus's avatar
      * files.el (remote-file-name-inhibit-cache): New defcustom. · 4bc3c53d
      Michael Albinus authored
      * time.el (display-time-file-nonempty-p): Use
      `remote-file-name-inhibit-cache'.
      
      * net/tramp.el (tramp-completion-reread-directory-timeout): Fix
      docstring.
      
      * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
      (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
      `remote-file-name-inhibit-cache'.  Check also for an integer
      value.  Add/increase counter when `tramp-verbose' >= 10.
      (tramp-set-file-property): Add/increase counter when
      `tramp-verbose' >= 10.
      
      * net/tramp-cmds.el (tramp-cleanup-all-connections)
      (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
      (tramp-bug): Set tramp-autoload cookie.  Report all interned
      tramp-* variables.  Report also `remote-file-name-inhibit-cache'.
      (tramp-reporter-dump-variable): Fix docstring.  Mask non-7bit
      characters only in strings.
      
      * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
      to backward compatibility.
      
      * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
      (tramp-handle-file-name-all-completions)
      (tramp-handle-vc-registered): Use
      `remote-file-name-inhibit-cache'.
      (tramp-open-connection-setup-interactive-shell): Call
      `tramp-cleanup-connection' directly.
      4bc3c53d
  39. 15 Sep, 2010 1 commit
    • Michael Albinus's avatar
      * net/tramp-compat.el (tramp-compat-with-temp-message) · 6139f995
      Michael Albinus authored
      (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
      (tramp-compat-process-put): New defuns.
      
      * net/tramp.el (top):
      * net/tramp-gvfs.el (top):
      * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
      
      * net/tramp.el (tramp-progress-reporter-update): Use
      `tramp-compat-funcall.
      
      * net/tramp.el (tramp-process-actions):
      * net/tramp-gvfs.el (tramp-handle-vc-registered):
      * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
      (tramp-get-remote-stat, tramp-get-remote-readlink): Use
      `tramp-compat-with-temp-message'.
      
      * net/tramp-sh.el (top): Require 'cl.
      (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
      (tramp-open-connection-setup-interactive-shell): Use
      `tramp-compat-process-put'.
      6139f995