1. 06 Dec, 2017 1 commit
    • Michael Albinus's avatar
      Fix Bug#29579 · a1bbc490
      Michael Albinus authored
      * lisp/files.el (file-name-non-special):
      Inhibit `file-name-handler-alist' only for some operations.
      Add missing operations.  (Bug#29579)
      
      * lisp/net/tramp-compat.el (tramp-compat-file-name-quote):
      Do not quote if it is quoted already.
      
      * lisp/net/tramp-smb.el (tramp-smb-handle-insert-directory):
      Use `copy-tree' but `copy-sequence'.
      
      * lisp/net/tramp.el (tramp-handle-file-truename): Handle several
      trailing slashes correctly.
      
      * test/lisp/net/tramp-tests.el (tramp-test11-copy-file)
      (tramp-test12-rename-file, tramp-test24-file-acl)
      (tramp-test25-file-selinux, tramp--test-check-files):
      Handle also quoted file names.
      (tramp-test21-file-links): Fix file name quoting test.
      (tramp-test24-file-acl): Be more robust for "smb" method.
      (tramp-test35-make-auto-save-file-name): Enable hidden test cases.
      a1bbc490
  2. 23 Oct, 2017 1 commit
  3. 17 Sep, 2017 1 commit
    • Michael Albinus's avatar
      Fix compatibility problem in Tramp · 57249fb2
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-interrupt-process): Better error handling.
      
      * lisp/net/tramp-compat.el (default-toplevel-value): Move up.
      (top): Do not call `tramp-change-syntax' anymore.
      (tramp-compat-directory-name-p): New defalias.
      
      * lisp/net/tramp-adb.el (tramp-adb-handle-copy-file):
      * lisp/net/tramp-sh.el (tramp-sh-handle-copy-directory):
      * lisp/net/tramp-smb.el (tramp-smb-handle-copy-directory)
      (tramp-smb-handle-copy-file): Use it.
      
      * test/lisp/net/tramp-tests.el (tramp-test28-interrupt-process):
      Modify test.
      57249fb2
  4. 13 Sep, 2017 1 commit
    • Paul Eggert's avatar
      Prefer HTTPS to FTP and HTTP in documentation · bc511a64
      Paul Eggert authored
      Most of this change is to boilerplate commentary such as license URLs.
      This change was prompted by ftp://ftp.gnu.org's going-away party,
      planned for November.  Change these FTP URLs to https://ftp.gnu.org
      instead.  Make similar changes for URLs to other organizations moving
      away from FTP.  Also, change HTTP to HTTPS for URLs to gnu.org and
      fsf.org when this works, as this will further help defend against
      man-in-the-middle attacks (for this part I omitted the MS-DOS and
      MS-Windows sources and the test tarballs to keep the workload down).
      HTTPS is not fully working to lists.gnu.org so I left those URLs alone
      for now.
      bc511a64
  5. 22 Aug, 2017 1 commit
    • Michael Albinus's avatar
      Test `file-expand-wildcards' for Tramp · 336707ef
      Michael Albinus authored
      * lisp/net/tramp-compat.el (tramp-advice-file-expand-wildcards):
      Remove, not needed anymore.
      
      * test/lisp/net/tramp-tests.el (top): Require seq.el.
      (tramp-test16-directory-files): Simplify.
      (tramp-test16-file-expand-wildcards): New test.
      (tramp-test28-interrupt-process): Skip for older Emacsen.
      336707ef
  6. 29 Jun, 2017 1 commit
    • Michael Albinus's avatar
      Improve timer handling when Tramp accepts output · 138447c3
      Michael Albinus authored
      * lisp/net/tramp-compat.el: Avoid compiler warning.
      
      * lisp/net/tramp-sh.el (tramp-sh-file-name-handler):
      Remove lock machinery.
      
      * lisp/net/tramp.el (tramp-locked, tramp-locker): Move up.
      (tramp-file-name-handler): Add lock machinery from
      `tramp-sh-file-name-handler'.  Allow timers to run.
      (tramp-accept-process-output): Remove nasty workaround.
      Suppress timers.
      
      * test/lisp/net/tramp-tests.el (shell-command-sentinel):
      Suppress run in tests.
      (tramp--instrument-test-case-p): New defvar.
      (tramp--instrument-test-case): Use it in order to allow nested calls.
      (tramp--test-message, tramp--test-backtrace): New defsubst,
      will be used for occasional test instrumentation.
      (tramp-test00-availability, tramp-test31-vc-registered): Use them.
      (tramp-test28-shell-command)
      (tramp--test-shell-command-to-string-asynchronously): Suppress
      nasty messages.  Don't overwrite sentinel.
      (tramp-test36-asynchronous-requests): Rewrite major parts.
      Expect :passed.
      138447c3
  7. 26 May, 2017 1 commit
    • Michael Albinus's avatar
      Remove Emacs 23 compat code from Tramp · b3032988
      Michael Albinus authored
      * doc/misc/tramp.texi (Remote processes): Don't mention
      Emacs 24 explicitely.
      (Frequently Asked Questions): Remove Emacs 23 from
      compatibility list.
      
      * lisp/net/tramp.el:
      * lisp/net/tramp-adb.el:
      * lisp/net/tramp-cache.el:
      * lisp/net/tramp-gvfs.el:
      * lisp/net/tramp-sh.el:
      * lisp/net/tramp-smb.el: Replace compat function calls.
      
      * lisp/net/tramp-compat.el (remote-file-name-inhibit-cache)
      (tramp-compat-condition-case-unless-debug)
      (tramp-compat-copy-file, tramp-compat-copy-directory)
      (tramp-compat-delete-file, tramp-compat-delete-directory)
      (tramp-compat-process-live-p): Remove them.
      
      * lisp/net/trampver.el: Make version check fit for Emacs 24.
      b3032988
  8. 25 May, 2017 1 commit
    • Michael Albinus's avatar
      Switch Tramp to cl-lib · 1a9ce7c5
      Michael Albinus authored
      * lisp/net/tramp-compat.el (cl-lib): Require it rather than cl.
      
      * lisp/net/tramp-ftp.el: Don't require cl.
      
      * lisp/net/tramp-gvfs.el: Don't require cl.
      (tramp-gvfs-handler-mounted-unmounted)
      (tramp-gvfs-connection-mounted-p): Use `cl-*' macros.
      
      * lisp/net/tramp-sh.el: Don't require cl.
      (tramp-set-file-uid-gid): Use `shell-quote-argument'.
      (tramp-sh-gvfs-monitor-dir-process-filter)
      (tramp-sh-inotifywait-process-filter): Use `cl-*' macros.
      
      * lisp/net/tramp-smb.el: Don't require cl.
      (tramp-smb-read-file-entry): Use `cl-*' macros.
      
      * lisp/net/tramp.el (cl-lib): Require it rather than cl.
      (tramp-parse-file, tramp-parse-shostkeys-sknownhosts)
      (tramp-parse-passwd, tramp-parse-etc-group)
      (tramp-parse-putty): Use `cl-*' macros.
      1a9ce7c5
  9. 12 May, 2017 1 commit
    • Michael Albinus's avatar
      Make Tramp backward compatible · afd8c762
      Michael Albinus authored
      * lisp/net/tramp-cmds.el (tramp-change-syntax):
      Set tramp-autoload cookie.
      
      * lisp/net/tramp-compat.el: Run `tramp-change-syntax' at
      startup, if necessary.
      
      * lisp/net/tramp.el (tramp-syntax): Use `tramp-compat-user-error'.
      (tramp-register-autoload-file-name-handlers): Do not mark
      `operations' for `tramp-file-name-handler'.
      (tramp-register-file-name-handlers): Remove also
      `tramp-autoload-file-name-handler' for backward compatibility.
      (tramp-register-foreign-file-name-handler): Use `delete-dups'.
      
      * test/lisp/net/tramp-tests.el (tramp-change-syntax): Declare.
      afd8c762
  10. 08 May, 2017 1 commit
    • Michael Albinus's avatar
      Handle `write-region' messages in Tramp properly · 73e3ed48
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-handle-write-region-message): New defsubst.
      * lisp/net/tramp-adb.el (tramp-adb-handle-write-region):
      * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-write-region):
      * lisp/net/tramp-sh.el (tramp-sh-handle-write-region):
      * lisp/net/tramp-smb.el (tramp-smb-handle-write-region): Use it.
      
      * lisp/net/tramp.el (tramp-password-prompt-regexp)
      (tramp-completion-mode-p):
      * lisp/net/tramp-cmds.el (tramp-reporter-dump-variable)
      (tramp-append-tramp-buffers):
      * lisp/net/tramp-smb.el (tramp-smb-maybe-open-connection):
      Use `bound-and-true-p'.
      
      * lisp/net/tramp-compat.el (tramp-compat-delete-file):
      Don't check for `boundp' anymore.
      
      * test/lisp/net/tramp-tests.el (ert-x): Require it.
      (tramp--test-messages): New defvar.
      (tramp-test10-write-region): Extend test.
      73e3ed48
  11. 08 Apr, 2017 1 commit
    • Michael Albinus's avatar
      Tune Tramp syntax · b7d61609
      Michael Albinus authored
      * lisp/net/tramp-cmds.el (tramp-change-syntax):
      Use `tramp-syntax-values'.
      
      * lisp/net/tramp-compat.el (tramp-compat-tramp-syntax): New defsubst.
      
      * lisp/net/tramp.el (tramp-syntax): Rename possible values.
      (tramp-syntax-values): New defun.
      (tramp-prefix-format, tramp-method-regexp)
      (tramp-postfix-method-format, tramp-prefix-ipv6-format)
      (tramp-postfix-ipv6-format, tramp-postfix-host-format)
      (tramp-completion-file-name-regexp): Use `tramp-compat-tramp-syntax'
      and changed values.
      (tramp-completion-file-name-regexp-default): Rename from
      `tramp-completion-file-name-regexp-unified'.  Adapt docstring.
      (tramp-completion-file-name-regexp-simplified): Rename from
      `tramp-completion-file-name-regexp-old-style'.  Adapt docstring.
      (tramp-initial-completion-file-name-regexp):
      Use `tramp-completion-file-name-regexp-default'.
      (tramp-run-real-handler): Do not autoload any longer.
      b7d61609
  12. 23 Mar, 2017 1 commit
    • Michael Albinus's avatar
      Use lexical-bind in Tramp · e1392faa
      Michael Albinus authored
      * lisp/net/tramp*.el: Add lexical-binding cookie.  Move declarations up.
      
      * lisp/net/tramp-adb.el (tramp-adb-parse-device-names): Use `push'
      rather than `add-to-list'.
      (tramp-adb-get-device): Remove unused variable.
      
      * lisp/net/tramp-gvfs.el (tramp-gvfs-parse-device-names): Remove unused
      variable.
      
      * lisp/net/tramp.el (auto-save-file-name-transforms): Declare.
      (tramp-find-file-name-coding-system-alist): Use `push' rather
      than `add-to-list'.
      
      * test/lisp/net/tramp-tests.el: Add lexical-binding cookie.
      Require 'dired.  Move declarations up.
      (tramp-test32-make-nearby-temp-file): Wrap `make-nearby-temp-file'
      and `temporary-file-directory' calls with `with-no-warnings'.
      (tramp-test35-asynchronous-requests): Mark unused variable.
      e1392faa
  13. 01 Jan, 2017 1 commit
  14. 27 Dec, 2016 1 commit
    • Michael Albinus's avatar
      Release Tramp 2.3.1 · aebe6592
      Michael Albinus authored
      * doc/misc/trampver.texi:
      * lisp/net/trampver.el: Change version to "2.3.1".
      
      * lisp/net/tramp.el (tramp-eshell-directory-change): Add it to
      `eshell-mode-hook' but `eshell-first-time-mode-hook'.
      
      * lisp/net/tramp-compat.el (tramp-compat-file-name-quoted-p)
      (tramp-compat-file-name-quote)
      (tramp-compat-file-name-unquote): Embed them in `eval-and-compile'.
      aebe6592
  15. 09 Dec, 2016 1 commit
    • Michael Albinus's avatar
      Fix further problems with quoted file names in Tramp · fc0fd24c
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-quoted-name-p, tramp-quote-name)
      (tramp-unquote-name): Move defsubst ...
      * lisp/net/tramp-compat.el (tramp-compat-file-name-quoted-p)
      (tramp-compat-file-name-quote)
      (tramp-compat-file-name-unquote): ... here. Adapt callees.
      
      * lisp/net/tramp-cache.el (tramp-flush-file-property)
      (tramp-flush-directory-property):
      * lisp/net/tramp-gvfs.el (tramp-gvfs-url-file-name):
      * lisp/net/tramp-sh.el (tramp-make-copy-program-file-name):
      * lisp/net/tramp-smb.el (tramp-smb-handle-copy-file)
      (tramp-smb-handle-substitute-in-file-name)
      (tramp-smb-get-share, tramp-smb-get-localname): Handle quoted files.
      fc0fd24c
  16. 05 Dec, 2016 1 commit
    • Michael Albinus's avatar
      Remove compat code in Tramp · 1b762de1
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-parse-time-months): Remove.
      
      * lisp/net/tramp-compat.el (top): Require parse-time.
      
      * lisp/net/tramp-smb.el (tramp-smb-read-file-entry):
      Use `parse-time-months'.
      1b762de1
  17. 22 Oct, 2016 1 commit
    • Michael Albinus's avatar
      Fix error codes in Tramp · abd1642e
      Michael Albinus authored
      * lisp/net/tramp-compat.el (tramp-compat-user-error): New defsubst,
      taken from tramp.el.
      (tramp-file-missing): New defconst.
      
      * lisp/net/tramp.el (tramp-user-error): Remove it.
      (tramp-check-proper-method-and-host)
      (tramp-dissect-file-name, tramp-debug-message)
      (tramp-handle-shell-command):
      * lisp/net/tramp-adb.el (tramp-adb-handle-shell-command):
      * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler):
      Use `tramp-compat-user-error'.
      
      * lisp/net/tramp.el (tramp-handle-insert-file-contents)
      (tramp-handle-load):
      * lisp/net/tramp-adb.el (tramp-adb-handle-file-local-copy):
      * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-local-copy)
      * lisp/net/tramp-sh.el (tramp-sh-handle-file-local-copy):
      * lisp/net/tramp-smb.el (tramp-smb-handle-file-local-copy):
      Use `tramp-file-missing'.  (Bug#24714)
      
      * lisp/net/tramp-sh.el (tramp-sh-handle-add-name-to-file):
      * lisp/net/tramp-smb.el (tramp-smb-handle-make-symbolic-link):
      Use `file-already-exists'.
      abd1642e
  18. 11 Oct, 2016 1 commit
  19. 26 Sep, 2016 1 commit
  20. 30 Aug, 2016 1 commit
    • Michael Albinus's avatar
      Use `file-attribute-*' in Tramp · 62b6c5d2
      Michael Albinus authored
      * lisp/net/tramp-compat.el (tramp-compat-file-attribute-type)
      (tramp-compat-file-attribute-link-number)
      (tramp-compat-file-attribute-user-id)
      (tramp-compat-file-attribute-group-id)
      (tramp-compat-file-attribute-modification-time)
      (tramp-compat-file-attribute-size)
      (tramp-compat-file-attribute-modes): New defaliases.
      
      * lisp/net/tramp.el (tramp-handle-file-modes)
      (tramp-handle-file-newer-than-file-p)
      (tramp-handle-file-regular-p, tramp-handle-file-symlink-p)
      (tramp-handle-set-visited-file-modtime)
      (tramp-handle-verify-visited-file-modtime)
      (tramp-get-local-gid, tramp-check-cached-permissions):
      * lisp/net/tramp-adb.el (tramp-adb-handle-file-directory-p)
      (tramp-adb-handle-file-truename, tramp-adb-handle-copy-file):
      * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory)
      (tramp-gvfs-handle-file-directory-p)
      (tramp-gvfs-handle-write-region, tramp-gvfs-get-remote-uid)
      (tramp-gvfs-get-remote-gid):
      * lisp/net/tramp-sh.el (tramp-sh-handle-file-truename)
      (tramp-sh-handle-set-visited-file-modtime)
      (tramp-sh-handle-verify-visited-file-modtime)
      (tramp-sh-handle-file-newer-than-file-p)
      (tramp-sh-handle-file-ownership-preserved-p)
      (tramp-do-copy-or-rename-file)
      (tramp-do-copy-or-rename-file-via-buffer)
      (tramp-do-copy-or-rename-file-directly)
      (tramp-do-copy-or-rename-file-out-of-band)
      (tramp-sh-handle-file-local-copy)
      (tramp-sh-handle-write-region):
      * lisp/net/tramp-smb.el (tramp-smb-handle-copy-directory)
      (tramp-smb-handle-copy-file)
      (tramp-smb-handle-file-directory-p)
      (tramp-smb-handle-file-writable-p)
      (tramp-smb-handle-insert-directory): Use them.
      62b6c5d2
  21. 29 Aug, 2016 1 commit
    • Michael Albinus's avatar
      Use `process-live-p' in Tramp · 1d0d6d92
      Michael Albinus authored
      * lisp/net/tramp-compat.el (tramp-compat-process-live-p): New defun.
      
      * lisp/net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
      (tramp-handle-file-notify-valid-p)
      (tramp-action-process-alive, tramp-action-out-of-band)
      (tramp-wait-for-regexp):
      * lisp/net/tramp-adb.el (tramp-adb-parse-device-names)
      (tramp-adb-maybe-open-connection):
      * lisp/net/tramp-cache.el (tramp-get-connection-property):
      * tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch):
      * lisp/net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
      (tramp-gw-aux-proc-sentinel, tramp-gw-open-connection):
      * tramp-sh.el (tramp-process-sentinel)
      (tramp-sh-handle-file-notify-add-watch)
      (tramp-maybe-open-connection):
      * lisp/net/lisp/net/lisp/net/tramp-smb.el (tramp-smb-action-with-tar)
      (tramp-smb-handle-copy-directory, tramp-smb-action-get-acl)
      (tramp-smb-handle-process-file, tramp-smb-action-set-acl)
      (tramp-smb-get-cifs-capabilities)
      (tramp-smb-get-stat-capability)
      (tramp-smb-maybe-open-connection, tramp-smb-wait-for-output)
      (tramp-smb-kill-winexe-function): Use it.
      1d0d6d92
  22. 10 Aug, 2016 1 commit
  23. 07 Aug, 2016 1 commit
    • Michael Albinus's avatar
      Add missing dcstrings in Tramp, remove chec for obsolee methods · a7985477
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-progress-reporter-update)
      (tramp-unload-file-name-handlers, tramp-get-local-uid)
      (tramp-get-local-gid, tramp-get-local-locale):
      * lisp/net/tramp-adb.el (tramp-adb-ls-date-regexp)
      (tramp-adb-ls-toolbox-regexp, tramp-adb-get-ls-command):
      * lisp/net/tramp-compat.el (tramp-compat-funcall):
      * lisp/net/tramp-ftp.el (tramp-ftp-enable-ange-ftp):
      * lisp/net/tramp-gw.el (tramp-gw-process-filter):
      * lisp/net/tramp-sh.el (tramp-get-remote-path)
      (tramp-get-remote-locale, tramp-get-ls-command)
      (tramp-get-ls-command-with-dired)
      (tramp-get-ls-command-with-quoting-style)
      (tramp-get-ls-command-with-w-option)
      (tramp-get-test-nt-command, tramp-get-file-exists-command)
      (tramp-get-remote-ln, tramp-get-remote-perl)
      (tramp-get-remote-stat, tramp-get-remote-readlink)
      (tramp-get-remote-trash, tramp-get-remote-touch)
      (tramp-get-remote-gvfs-monitor-dir)
      (tramp-get-remote-inotifywait, tramp-get-remote-id)
      (tramp-get-remote-uid-with-id)
      (tramp-get-remote-uid-with-perl, tramp-get-remote-python)
      (tramp-get-remote-uid-with-python, tramp-get-remote-uid)
      (tramp-get-remote-gid-with-id)
      (tramp-get-remote-gid-with-perl)
      (tramp-get-remote-gid-with-python, tramp-get-remote-gid)
      (tramp-get-env-with-u-option): Add missing docstrings.
      
      * lisp/net/tramp.el (tramp-obsolete-methods)
      (tramp-warned-obsolete-methods): Remove.
      (tramp-find-method): Do not check for obsolete methods any longer.
      a7985477
  24. 05 Jul, 2016 1 commit
    • Michael Albinus's avatar
      Make all Tramp tests pass for "gdrive" method · 1ba6f2c7
      Michael Albinus authored
      * lisp/net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory)
      * lisp/net/tramp-compat.el (tramp-compat-copy-directory)
      (tramp-compat-delete-directory):
      * lisp/net/tramp-smb.el (tramp-smb-handle-delete-directory):
      Use `directory-files-no-dot-files-regexp'.
      
      * lisp/net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
      (tramp-gvfs-send-command): Call `tramp-flush-file-property' in
      case of problems.
      
      * test/lisp/net/tramp-tests.el (tramp--instrument-test-case):
      Adapt docstring.
      (tramp-test14-delete-directory): Make further tests.
      1ba6f2c7
  25. 09 May, 2016 1 commit
  26. 14 Jan, 2016 1 commit
    • Michael Albinus's avatar
      Remove XEmacs compatibility in Tramp · de8c5f9d
      Michael Albinus authored
      * doc/misc/tramp.texi: Replace flags by their hard coded name.
      Remove unused flags and the enclosed alternative text for XEmacs.
      
      * doc/misc/trampver.texi: Use "Tramp" CamelCase.  Rename "emacs"
      and "xemacs" flags to "unified" and "separate".  Remove flags
      "emacsgw", "emacsname", "emacsdir", "ftppackagename",
      "emacsothername", "emacsotherdir" and "emacsotherfilename".
      (trampver):
      * lisp/net/trampver.el (tramp-version): Set to "2.3.0-pre".
      
      * lisp/net/tramp.el (bkup-backup-directory-info)
      (directory-sep-char, ls-lisp-use-insert-directory-program)
      (outline-regexp, tramp-backup-directory-alist)
      (tramp-default-method, tramp-shell-prompt-pattern, tramp-syntax)
      (tramp-file-name-regexp-unified)
      (tramp-file-name-regexp-separate)
      (tramp-completion-file-name-regexp-unified)
      (tramp-completion-file-name-regexp-separate, tramp-chunksize)
      (tramp-get-method-parameter, tramp-find-method, tramp-find-user)
      (tramp-debug-message, tramp-progress-reporter-update)
      (with-tramp-progress-reporter)
      (tramp-rfn-eshadow-setup-minibuffer)
      (rfn-eshadow-setup-minibuffer-hook, tramp-unload-hook)
      (tramp-rfn-eshadow-update-overlay)
      (rfn-eshadow-update-overlay-hook, tramp-default-file-modes)
      (tramp-file-name-for-operation)
      (tramp-completion-file-name-handler)
      (tramp-autoload-file-name-handler, tramp-completion-mode-p)
      (tramp-handle-directory-files)
      (tramp-handle-directory-files-and-attributes)
      (tramp-handle-dired-uncache, tramp-handle-find-backup-file-name)
      (tramp-handle-insert-file-contents, tramp-handle-load)
      (tramp-handle-shell-command)
      (tramp-handle-verify-visited-file-modtime)
      (tramp-handle-file-notify-valid-p, tramp-accept-process-output)
      (tramp-check-for-regexp, tramp-wait-for-regexp)
      (tramp-send-string, tramp-mode-string-to-int)
      (tramp-get-local-gid, tramp-check-cached-permissions)
      (tramp-get-remote-tmpdir, tramp-make-tramp-temp-file)
      (auto-save-file-name-transforms)
      (tramp-handle-make-auto-save-file-name, tramp-read-passwd)
      (tramp-clear-passwd, tramp-time-diff):
      * lisp/net/tramp-adb.el (directory-listing-before-filename-regexp)
      (directory-sep-char, tramp-adb-file-name-handler-alist)
      (tramp-adb-parse-device-names)
      (tramp-adb-handle-expand-file-name)
      (tramp-adb-handle-file-truename, tramp-adb--gnu-switches-to-ash)
      (tramp-adb-handle-file-local-copy)
      (tramp-adb-handle-write-region, tramp-adb-handle-set-file-modes)
      (tramp-adb-handle-rename-file, tramp-adb-handle-process-file)
      (tramp-adb-handle-shell-command)
      (tramp-adb-handle-start-file-process, tramp-adb-get-device)
      (tramp-adb-maybe-open-connection):
      * lisp/net/tramp-cache.el (tramp-persistency-file-name)
      (tramp-cache-print):
      * lisp/net/tramp-cmds.el (tramp-cleanup-all-connections)
      (tramp-bug, tramp-reporter-dump-variable)
      (tramp-load-report-modules, tramp-append-tramp-buffers):
      * lisp/net/tramp-compat.el (tramp-compat-funcall)
      (tramp-advice-file-expand-wildcards)
      (tramp-compat-temporary-file-directory)
      (tramp-compat-make-temp-file, tramp-compat-copy-file)
      (tramp-compat-delete-directory, )
      (tramp-compat-process-running-p):
      * lisp/net/tramp-ftp.el (tramp-methods) <ftp>:
      (tramp-default-method-alist, tramp-foreign-file-name-handler-alist):
      * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
      (tramp-gvfs-do-copy-or-rename-file, tramp-gvfs-handle-copy-file)
      (tramp-gvfs-handle-file-local-copy)
      (tramp-gvfs-handle-file-name-all-completions)
      (tramp-gvfs-handle-file-notify-add-watch)
      (tramp-gvfs-monitor-file-process-filter)
      (tramp-gvfs-handle-file-readable-p)
      (tramp-gvfs-handle-rename-file, tramp-gvfs-handle-write-region)
      (tramp-gvfs-file-name, tramp-gvfs-handler-askquestion)
      (tramp-gvfs-maybe-open-connection)
      (tramp-gvfs-parse-device-names):
      * lisp/net/tramp-gw.el (tramp-gw-aux-proc-sentinel)
      (tramp-gw-open-connection, tramp-gw-open-network-stream):
      * lisp/net/tramp-sh.el (directory-sep-char)
      (tramp-sh-file-name-handler-alist)
      (tramp-sh-handle-file-truename)
      (tramp-sh-handle-set-visited-file-modtime)
      (tramp-sh-handle-verify-visited-file-modtime)
      (tramp-sh-handle-set-file-modes, tramp-sh-handle-set-file-times)
      (tramp-sh-handle-file-acl)
      (tramp-sh-handle-file-name-all-completions)
      (tramp-sh-handle-copy-file, tramp-sh-handle-rename-file)
      (tramp-do-copy-or-rename-file-directly)
      (tramp-do-copy-or-rename-file-out-of-band)
      (dired-compress-file-suffixes, dired-remove-file)
      (tramp-sh-handle-dired-compress-file)
      (tramp-sh-handle-insert-directory)
      (tramp-sh-handle-expand-file-name)
      (tramp-sh-handle-start-file-process)
      (tramp-sh-handle-process-file, tramp-sh-handle-file-local-copy)
      (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
      (tramp-sh-handle-file-notify-add-watch)
      (tramp-sh-gvfs-monitor-dir-process-filter)
      (tramp-sh-inotifywait-process-filter, tramp-maybe-send-script)
      (tramp-find-executable)
      (tramp-open-connection-setup-interactive-shell)
      (tramp-find-inline-encoding, tramp-compute-multi-hops)
      (tramp-maybe-open-connection, tramp-convert-file-attributes)
      (tramp-get-remote-path, tramp-get-remote-touch):
      * lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist)
      (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
      (tramp-smb-handle-delete-directory)
      (tramp-smb-handle-directory-files, tramp-smb-handle-file-acl)
      (tramp-smb-handle-make-directory-internal)
      (tramp-smb-handle-process-file, tramp-smb-handle-rename-file)
      (tramp-smb-handle-set-file-acl, tramp-smb-handle-set-file-modes)
      (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
      (tramp-smb-get-cifs-capabilities)
      (tramp-smb-maybe-open-connection):
      * lisp/net/trampver.el (tramp-repository-get-version):
      Remove XEmacs compat code.
      
      * lisp/net/tramp-cmds.el (mml-mode, mml-insert-empty-tag)
      (reporter-dump-variable): Declare functions.
      
      * lisp/net/tramp.el (tramp-bkup-backup-directory-info)
      (tramp-advice-minibuffer-electric-separator)
      (tramp-advice-minibuffer-electric-tilde)
      (tramp-handle-unhandled-file-name-directory):
      * lisp/net/tramp-compat.el (tramp-compat-with-temp-message)
      (tramp-compat-font-lock-add-keywords)
      (tramp-compat-load, tramp-compat-number-sequence)
      (tramp-compat-split-string, tramp-compat-delete-dups):
      * lisp/net/tramp-sh.el (tramp-sh-handle-insert-file-contents-literally):
      Remove.
      
      * lisp/net/tramp-sh.el (tramp-methods) <psftp>: This does not work
      recursively.
      de8c5f9d
  27. 09 Jan, 2016 1 commit
    • Michael Albinus's avatar
      Fix coding system for Tramp on OS X. · 90fd798a
      Michael Albinus authored
      * lisp/net/tramp-compat.el: Require ucs-normalize.
      
      * lisp/net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
      Set coding system to `utf-8-hfs' for Mac OS X.
      
      * test/automated/tramp-tests.el (tramp-test29-vc-registered):
      Flush directory properties when needed.
      (tramp--test-utf8): Include Chinese file name, again.
      90fd798a
  28. 01 Jan, 2016 1 commit
  29. 29 Dec, 2015 1 commit
    • Michael Albinus's avatar
      Sync with Tramp 2.2.13 · 8ca864ba
      Michael Albinus authored
      * doc/misc/trampver.texi: Change version to "2.2.13.25.1".
      
      * lisp/net/tramp-compat.el (tramp-compat-delete-dups):
      Use `tramp-compat-funcall'.
      
      * lisp/net/tramp-gvfs.el (tramp-gvfs-parse-device-names):
      Make `split-string' call compatible with older Emacsen.
      
      * lisp/net/trampver.el: Change version to "2.2.13.25.1".
      8ca864ba
  30. 28 Oct, 2015 1 commit
  31. 18 Oct, 2015 1 commit
    • Michael Albinus's avatar
      Minor edits in Tramp · f8ff3937
      Michael Albinus authored
      * lisp/net/tramp-adb.el (directory-listing-before-filename-regexp):
      Declare it.
      
      * lisp/net/tramp-compat.el (directory-listing-before-filename-regexp):
      Remove declaration.
      f8ff3937
  32. 04 Oct, 2015 1 commit
    • Michael Albinus's avatar
      Improve XEmacs compatibility of Tramp · acfb5cd0
      Michael Albinus authored
      * lisp/net/tramp-compat.el (directory-listing-before-filename-regexp):
      Declare if it doesn't exist.
      (file-remote-p): Remove defalias, which was necessary for GNU Emacs 21.
      (redisplay): Make it an alias if it doesn't exist.
      
      * lisp/net/tramp.el (tramp-get-remote-tmpdir): Don't use
      `file-remote-p' (due to XEmacs compatibility).
      
      * lisp/net/trampver.el (locate-dominating-file)
      (tramp-compat-replace-regexp-in-string): Autoload.
      (tramp-repository-get-version): Do not dupe byte-compiler.
      acfb5cd0
  33. 26 Aug, 2015 2 commits
    • Michael Albinus's avatar
    • Paul Eggert's avatar
      Go back to grave quoting in Tramp · b12cfbfd
      Paul Eggert authored
      * lisp/net/tramp-adb.el:
      * lisp/net/tramp-cache.el:
      * lisp/net/tramp-compat.el:
      * lisp/net/tramp-gvfs.el:
      * lisp/net/tramp-gw.el:
      * lisp/net/tramp-sh.el:
      * lisp/net/tramp-smb.el:
      * lisp/net/tramp.el:
      Stick with grave quoting in diagnostics strings.  This is more
      portable to older Emacs, desirable for Tramp.
      * lisp/net/tramp-cache.el: Use ‘format-message’, not ‘format’,
      for diagnostic that needs requoting.
      * lisp/net/tramp-compat.el (format-message):
      Fall back on simple ‘format’, since that’s good enough now.
      b12cfbfd
  34. 25 Aug, 2015 1 commit
    • Paul Eggert's avatar
      Tramp diagnostics as per ‘text-quoting-style’ · 7b5290da
      Paul Eggert authored
      * lisp/net/tramp-adb.el (tramp-adb-handle-file-truename)
      (tramp-adb-get-ls-command, tramp-adb-handle-make-directory)
      (tramp-adb-handle-delete-directory)
      (tramp-adb-handle-delete-file)
      (tramp-adb-handle-file-local-copy)
      (tramp-adb-handle-write-region, tramp-adb-handle-copy-file)
      (tramp-adb-send-command-and-check, tramp-adb-wait-for-output)
      (tramp-adb-maybe-open-connection):
      * lisp/net/tramp-cache.el:
      * lisp/net/tramp-compat.el (tramp-compat-temporary-file-directory)
      (tramp-compat-octal-to-decimal)
      (tramp-compat-coding-system-change-eol-conversion):
      * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler)
      (tramp-gvfs-do-copy-or-rename-file)
      (tramp-gvfs-handle-delete-directory)
      (tramp-gvfs-handle-delete-file)
      (tramp-gvfs-handle-expand-file-name)
      (tramp-gvfs-handle-file-local-copy)
      (tramp-gvfs-handle-file-notify-add-watch)
      (tramp-gvfs-handle-make-directory)
      (tramp-gvfs-handle-write-region, tramp-gvfs-url-file-name):
      * lisp/net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
      (tramp-gw-aux-proc-sentinel, tramp-gw-open-connection):
      * lisp/net/tramp-sh.el (tramp-sh-handle-file-truename)
      (tramp-sh-handle-set-visited-file-modtime)
      (tramp-sh-handle-set-file-modes)
      (tramp-sh-handle-file-name-all-completions)
      (tramp-sh-handle-add-name-to-file, tramp-do-copy-or-rename-file)
      (tramp-do-copy-or-rename-file-directly)
      (tramp-do-copy-or-rename-file-out-of-band)
      (tramp-sh-handle-make-directory)
      (tramp-sh-handle-delete-directory, tramp-sh-handle-delete-file)
      (tramp-sh-handle-insert-directory, tramp-process-sentinel)
      (tramp-sh-handle-start-file-process)
      (tramp-sh-handle-file-local-copy)
      (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
      (tramp-sh-handle-file-notify-add-watch, tramp-maybe-send-script)
      (tramp-find-file-exists-command, tramp-open-shell)
      (tramp-find-shell)
      (tramp-open-connection-setup-interactive-shell)
      (tramp-find-inline-encoding, tramp-find-inline-compress)
      (tramp-compute-multi-hops, tramp-maybe-open-connection)
      (tramp-wait-for-output, tramp-send-command-and-check)
      (tramp-send-command-and-read, tramp-get-remote-path)
      (tramp-get-ls-command, tramp-get-ls-command-with-dired)
      (tramp-get-ls-command-with-quoting-style)
      (tramp-get-test-command, tramp-get-remote-ln)
      (tramp-get-remote-perl, tramp-get-remote-stat)
      (tramp-get-remote-readlink, tramp-get-remote-trash)
      (tramp-get-remote-touch, tramp-get-remote-gvfs-monitor-dir)
      (tramp-get-remote-inotifywait, tramp-get-remote-id)
      (tramp-get-remote-python):
      * lisp/net/tramp-smb.el (tramp-smb-errors)
      (tramp-smb-handle-add-name-to-file, tramp-smb-handle-copy-file)
      (tramp-smb-handle-delete-directory)
      (tramp-smb-handle-delete-file)
      (tramp-smb-handle-file-local-copy)
      (tramp-smb-handle-make-directory)
      (tramp-smb-handle-make-directory-internal)
      (tramp-smb-handle-make-symbolic-link)
      (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-acl)
      (tramp-smb-handle-set-file-modes)
      (tramp-smb-handle-write-region, tramp-smb-get-file-entries):
      * lisp/net/tramp.el (tramp-debug-message, tramp-error)
      (tramp-process-actions):
      Generate diagnostics according to ‘text-quoting-style’, by
      using curved quotes in format strings and ‘format-message’
      when appropriate.
      * lisp/net/tramp-compat.el (format-message):
      Define a replacement, if it’s an older version of Emacs
      that doesn’t have it already.
      7b5290da
  35. 21 May, 2015 1 commit
  36. 01 Jan, 2015 2 commits
  37. 29 Dec, 2014 1 commit
    • Michael Albinus's avatar
      Sync with Tramp 2.2.11. · e792450d
      Michael Albinus authored
      * net/tramp-compat.el (top): Require cl-macs for Emacs 22.
      Make an alias for `default-toplevel-value' if it doesn't exist.
      
      * net/tramp-smb.el (tramp-smb-handle-copy-directory):
      Use `tramp-compat-delete-directory'.
      
      * net/trampver.el: Update release number.
      e792450d
  38. 20 Nov, 2014 1 commit
    • Michael Albinus's avatar
      Improve XEmacs compatibility. · 6ec5ee88
      Michael Albinus authored
      * net/tramp.el (tramp-autoload-file-name-handler):
      Wrap `temporary-file-directory' by `symbol-value', it doesn't exist in XEmacs.
      (tramp-read-passwd): Don't use `with-timeout-suspend' and
      `with-timeout-unsuspend' if they don't exist, like in XEmacs.
      (tramp-time-less-p, tramp-time-subtract): Remove functions.
      (tramp-handle-file-newer-than-file-p, tramp-time-diff):
      * net/ttramp-adb.el (tramp-adb-ls-output-time-less-p):
      * net/ttramp-cache.el (tramp-get-file-property):
      * net/ttramp-smb.el (tramp-smb-handle-insert-directory):
      Use `time-less-p' and `time-subtract, respectively.
      6ec5ee88