1. 01 Nov, 2014 2 commits
    • Wolfgang Jenkner's avatar
      * net/tramp-sh.el (tramp-send-command): Fix the case where the · b14b7f43
      Wolfgang Jenkner authored
      remote-echo connection property is non-nil.
      
      Fixes: debbugs:18858
      b14b7f43
    • Michael Albinus's avatar
      Backport Tramp changes from trunk. · ae5602c5
      Michael Albinus authored
      * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
      (tramp-adb-handle-write-region): Improve messages.
      (tramp-adb-maybe-open-connection): Don't set
      `tramp-current-*' variables.
      
      * net/tramp-cache.el (tramp-flush-file-function): Simplify check.
      Suppress debug messages.
      
      * net/tramp-ftp.el (top): Remove special handling for URL syntax.
      (tramp-ftp-file-name-handler):
      
      * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
      (tramp-gvfs-methods-mounttracker)
      (tramp-gvfs-mountlocation-signature): Check `tramp-gvfs-enabled'
      during initialization. 
      (tramp-gvfs-handle-delete-file): Flush file properties, not
      directory properties.
      (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
      reading "unix::mode".
      (tramp-gvfs-handle-file-name-all-completions):
      Use "-h" option for "gvfs-ls".
      (tramp-gvfs-url-file-name): Apply `cons' where appropriate.
      `user' and `localname' could be nil.
      (tramp-gvfs-send-command): Simplify traces.
      
      * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
      (vc-git-program, vc-hg-program): Declare.
      (tramp-methods) <sftp>: Remove.  It has never worked satisfactorily.
      (tramp-methods) <nc>: Add new method.
      (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
      (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
      `tramp-login-args'.
      (tramp-default-user-alist): Add "nc".
      (top): Remove completion function for "sftp".  Add completion
      functions for "nc" and "psftp".
      (tramp-sh-handle-set-visited-file-modtime):
      (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
      (tramp-do-copy-or-rename-file-out-of-band):
      Use cached "remote-copy-args" value, if available.  (Bug#18199)
      Tweak docstring.  Implement support for "nc" method.
      (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
      (tramp-remote-coding-commands, tramp-call-local-coding-command):
      Tweak docstring.
      (tramp-sh-handle-start-file-process): Expand `default-directory'.
      (tramp-sh-handle-write-region): Tweak error message.
      (tramp-sh-handle-vc-registered): Remove backends when the remote
      binary does not exist.
      (tramp-open-connection-setup-interactive-shell):
      Prefer utf-8 coding.  (Bug#17859)
      (tramp-find-inline-encoding): Do not raise an error.
      (tramp-make-copy-program-file-name): Tweak docstring.  Handle also
      the "nc" case.  Quote result also locally.
      (tramp-get-remote-id): Check also for "gid".
      (tramp-get-remote-python):
      
      * net/tramp-smb.el (tramp-smb-handle-copy-directory)
      (tramp-smb-handle-set-file-acl): Use `start-process'.
      (tramp-smb-handle-insert-directory): Use progress reporter.
      (tramp-smb-handle-rename-file): Flush also file properties of
      FILENAME.
      
      * net/tramp.el (tramp-methods): Tweak docstring.
      (tramp-file-name-handler): Apply `cons' where appropriate.
      (tramp-handle-file-accessible-directory-p): Check for
      `file-readable-p' instead of `file-executable-p'.
      (tramp-handle-shell-command): Use `display-buffer'.  (Bug#18326)
      (tramp-handle-unhandled-file-name-directory): Return "/".
      (tramp-check-cached-permissions):
      Use `tramp-compat-file-attributes'.
      (tramp-call-process): Add new argument VEC.  Adapt callees in all
      tramp*.el files.
      
      * net/trampver.el: Update release number.
      ae5602c5
  2. 22 Jun, 2014 1 commit
  3. 17 May, 2014 1 commit
  4. 06 May, 2014 2 commits
    • Michael Albinus's avatar
      Fix Bug#17415. · 23e19cf2
      Michael Albinus authored
      * net/tramp-sh.el (tramp-uudecode): Replace the hard-coded temporary
      file name by a format specifier.
      (tramp-remote-coding-commands): Enhance docstring.
      (tramp-find-inline-encoding): Replace "%t" by a temporary file name.
      23e19cf2
    • Michael Albinus's avatar
      Fix Bug#17295. · 3e59ead1
      Michael Albinus authored
      * net/tramp-sh.el (tramp-remote-process-environment): Remove
      HISTFILE and HISTSIZE; it's too late to set them here.  Add
      :version entry.
      (tramp-open-shell): Do not let-bind `tramp-end-of-output'.  Add
      "HISTSIZE=/dev/null" to the shell's env arguments.  Do not send
      extra "PSx=..." commands.
      (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
      3e59ead1
  5. 22 Apr, 2014 1 commit
  6. 21 Apr, 2014 1 commit
  7. 20 Apr, 2014 1 commit
  8. 13 Apr, 2014 1 commit
  9. 11 Apr, 2014 1 commit
  10. 10 Apr, 2014 1 commit
  11. 25 Mar, 2014 2 commits
  12. 21 Mar, 2014 1 commit
  13. 17 Mar, 2014 1 commit
  14. 10 Mar, 2014 1 commit
  15. 07 Mar, 2014 1 commit
  16. 04 Mar, 2014 1 commit
  17. 27 Feb, 2014 1 commit
  18. 24 Feb, 2014 1 commit
  19. 23 Feb, 2014 1 commit
  20. 20 Feb, 2014 1 commit
    • Michael Albinus's avatar
      * net/tramp.el (ls-lisp-use-insert-directory-program): Declare. · f5bee33b
      Michael Albinus authored
      (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
      
      * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
      [insert-directory]: Use `tramp-handle-insert-directory.
      (tramp-gvfs-handle-insert-directory): Remove function.
      
      * net/tramp-sh.el (tramp-sh-handle-insert-directory):
      Call `tramp-handle-insert-directory'.
      f5bee33b
  21. 19 Feb, 2014 1 commit
    • Michael Albinus's avatar
      Some Tramp minor fixes, found during test campaign. · 50bfdd5d
      Michael Albinus authored
      * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
      [make-symbolic-link]: Use `tramp-handle-make-symbolic-link'.
      
      * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
      [make-symbolic-link]: Use `tramp-handle-make-symbolic-link'.
      (tramp-gvfs-maybe-open-connection): Set always connection
      properties, even if target is mounted already.
      
      * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
      Set tramp-autoload cookie.
      (tramp-get-remote-touch): New defun.
      (tramp-sh-handle-set-file-times): Use it.
      (tramp-sh-handle-directory-files-and-attributes):
      Use `tramp-handle-directory-files-and-attributes' if neither stat
      nor perl are available on the remote host.
      
      * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
      "/".  Write long listing only when "l" belongs to the switches.
      
      * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
      (tramp-check-cached-permissions): Call `file-attributes' if the
      cache is empty.
      
      * net/trampver.el: Update release number.
      50bfdd5d
  22. 10 Feb, 2014 3 commits
  23. 08 Feb, 2014 1 commit
  24. 06 Feb, 2014 1 commit
  25. 05 Feb, 2014 1 commit
    • Michael Albinus's avatar
      Make heredocs more robust in Tramp. · 9a83b32b
      Michael Albinus authored
      * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
      (tramp-sh-handle-set-file-acl)
      (tramp-sh-handle-start-file-process)
      (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
      (tramp-find-executable, tramp-send-command): Use it.
      9a83b32b
  26. 01 Jan, 2014 2 commits
  27. 06 Dec, 2013 1 commit
    • Michael Albinus's avatar
      Bug#16045 · 4803595d
      Michael Albinus authored
      * progmodes/compile.el (compilation-start):
      * progmodes/grep.el (rgrep): Revert change of 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
      
      * net/tramp-sh.el (tramp-sh-handle-start-file-process):
      Handle long command lines, lasting from "sh -c ...".  (Bug#16045)
      4803595d
  28. 02 Dec, 2013 1 commit
  29. 26 Nov, 2013 1 commit
  30. 15 Nov, 2013 1 commit
  31. 11 Nov, 2013 1 commit
    • Michael Albinus's avatar
      * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer) · 7ce8fcc3
      Michael Albinus authored
      (tramp-sh-handle-file-local-copy): Don't write a message when
      saving temporary files.
      
      * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
      both directories are remote.
      (tramp-smb-handle-directory-files): Do not return double entries.
      Do not expand full file names.
      (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
      (tramp-smb-handle-write-region): Implement APPEND.
      (tramp-smb-get-stat-capability): Fix a stupid bug.
      7ce8fcc3
  32. 10 Nov, 2013 1 commit
  33. 08 Nov, 2013 1 commit
  34. 07 Nov, 2013 1 commit