1. 15 Aug, 2013 2 commits
    • Michael Albinus's avatar
      Declare external variables. · b74f0d96
      Michael Albinus authored
      b74f0d96
    • Michael Albinus's avatar
      Remove byte compiler warnings, visible when compiling with · 5d89d9d2
      Michael Albinus authored
      `byte-compile-force-lexical-warnings' set to t.
      
      * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
      (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
      (tramp-handle-unhandled-file-name-directory)
      (tramp-handle-file-notify-add-watch, tramp-action-login)
      (tramp-action-succeed, tramp-action-permission-denied)
      (tramp-action-terminal, tramp-action-process-alive): Prefix unused
      arguments with "_".
      
      * net/tramp-adb.el (tramp-adb-parse-device-names)
      (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
      (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
      (tramp-adb-handle-file-truename): Remove unused arguments.
      
      * net/tramp-cache.el (tramp-flush-directory-property)
      (tramp-flush-connection-property, tramp-list-connections)
      (tramp-parse-connection-properties): Prefix unused arguments with "_".
      
      * net/tramp-compat.el (tramp-compat-make-temp-file): Rename
      FILENAME to F.
      
      * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
      (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
      (tramp-zeroconf-parse-workstation-device-names)
      (tramp-zeroconf-parse-webdav-device-names)
      (tramp-synce-parse-device-names): Prefix unused arguments with "_".
      
      * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
      (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
      
      * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
      arguments.
      (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
      (tramp-sh-handle-insert-file-contents-literally)
      (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
      with "_".
      (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
      Remove unused variables.
      
      * net/tramp-smb.el (tramp-smb-handle-copy-directory)
      (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
      (tramp-smb-read-file-entry): Prefix unused arguments with "_".
      
      * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
      Make them a defconst.
      (tramp-uuencode-region): Remove unused variable.
      5d89d9d2
  2. 01 Aug, 2013 1 commit
    • Michael Albinus's avatar
      Complete file name handlers. · a43dc424
      Michael Albinus authored
      * net/tramp.el (tramp-handle-set-visited-file-modtime)
      (tramp-handle-verify-visited-file-modtime)
      (tramp-handle-file-notify-rm-watch): New functions.
      (tramp-call-process): Do not bind `default-directory'.
      
      * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Order
      alphabetically.
      [access-file, add-name-to-file, dired-call-process]:
      [dired-compress-file, file-acl, file-notify-rm-watch]:
      [file-ownership-preserved-p, file-selinux-context]:
      [make-directory-internal, make-symbolic-link, set-file-acl]:
      [set-file-selinux-context, set-visited-file-modtime]:
      [verify-visited-file-modtime]: Add handler.
      (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
      
      * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
      [file-notify-add-watch, file-notify-rm-watch]:
      [set-file-times, set-visited-file-modtime]:
      [verify-visited-file-modtime]: Add handler.
      (with-tramp-gvfs-error-message)
      (tramp-gvfs-handle-set-visited-file-modtime)
      (tramp-gvfs-fuse-file-name): Remove.
      (tramp-gvfs-handle-file-notify-add-watch)
      (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
      (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
      
      * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Order
      alphabetically.
      [file-notify-rm-watch ]: Use default Tramp handler.
      [executable-find]: Remove private handler.
      (tramp-do-copy-or-rename-file-out-of-band): Do not bind
      `default-directory'.
      (tramp-sh-handle-executable-find)
      (tramp-sh-handle-file-notify-rm-watch): Remove functions.
      (tramp-sh-file-gvfs-monitor-dir-process-filter)
      (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
      Do not use `format' in `tramp-message'.
      
      * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
      [file-notify-rm-watch, set-visited-file-modtime]:
      [verify-visited-file-modtime]: Add handler.
      (tramp-smb-call-winexe): Do not bind `default-directory'.
      a43dc424
  3. 24 Jul, 2013 1 commit
    • Michael Albinus's avatar
      * filenotify.el (file-notify-supported-p): · d5d3c58a
      Michael Albinus authored
      * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
      Remove functions.
      
      * autorevert.el (auto-revert-use-notify):
      (auto-revert-notify-add-watch):
      * net/tramp.el (tramp-file-name-for-operation):
      * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
      * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
      * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
      * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
      Remove `file-notify-supported-p' entry.
      d5d3c58a
  4. 23 Jul, 2013 1 commit
  5. 18 Jul, 2013 1 commit
    • Michael Albinus's avatar
      * filenotify.el (file-notify--library): Renamed from · e06ec67f
      Michael Albinus authored
      `file-notify-support'.  Do not autoload.  Adapt all uses.
      (file-notify-supported-p): New defun.
      
      * autorevert.el (auto-revert-use-notify): Use
      `file-notify-supported-p' instead of `file-notify-support'.  Adapt
      docstring.
      (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
      
      * net/tramp.el (tramp-file-name-for-operation):
      Add `file-notify-supported-p'.
      
      * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
      New defun.
      (tramp-sh-file-name-handler-alist): Add it as handler for
      `file-notify-supported-p '.
      
      * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
      * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
      * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
      Add `ignore' as handler for `file-notify-*' functions.
      e06ec67f
  6. 19 Jun, 2013 1 commit
  7. 22 Apr, 2013 1 commit
    • Michael Albinus's avatar
      * net/tramp-compat.el (tramp-compat-call-process): Move function ... · d0853629
      Michael Albinus authored
      * net/tramp.el (tramp-call-process): ... here
      (tramp-set-completion-function, tramp-parse-putty):
      * net/tramp-adb.el (tramp-adb-execute-adb-command):
      * net/tramp-gvfs.el (tramp-gvfs-send-command):
      * net/tramp-sh.el (tramp-sh-handle-set-file-times)
      (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
      (tramp-call-local-coding-command): Use `tramp-call-process'
      instead of `tramp-compat-call-process'.
      
      * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
      (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
      (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
      (tramp-find-inline-compress):Improve traces.
      (tramp-maybe-send-script): Check for Perl binary.
      (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
      d0853629
  8. 18 Mar, 2013 1 commit
    • Michael Albinus's avatar
      * net/tramp-compat.el (tramp-compat-user-error): New defun. · 64ab82d1
      Michael Albinus authored
      * net/tramp-adb.el (tramp-adb-handle-shell-command):
      * net/tramp-gvfs.el (top):
      * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
      (tramp-handle-shell-command): Use it.
      (tramp-dissect-file-name): Raise an error when hostname is a
      method name, and neither method nor user is specified.
      
      * net/trampver.el: Update release number.
      64ab82d1
  9. 17 Mar, 2013 1 commit
  10. 03 Mar, 2013 1 commit
  11. 01 Mar, 2013 1 commit
    • Michael Albinus's avatar
      * net/tramp-adb.el (tramp-adb-prompt): Extend regexp. · 7d11fc27
      Michael Albinus authored
      (tramp-adb-handle-process-file): Remove superfluous setting.
      (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
      (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
      (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
      7d11fc27
  12. 28 Feb, 2013 1 commit
  13. 27 Feb, 2013 1 commit
  14. 12 Feb, 2013 1 commit
  15. 21 Jan, 2013 2 commits
    • 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
    • Jürgen Hötzel's avatar
      * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete · 88c7dfa3
      Jürgen Hötzel authored
      reimplementation using "adb shell command ..." instead of running
      remote shell interactively.
      88c7dfa3
  16. 09 Jan, 2013 1 commit
    • Paul Eggert's avatar
      Spelling fixes. · 677d5c92
      Paul Eggert authored
      * lisp/net/tramp-adb.el (tramp-adb-get-toolbox):
      Fix misspelling of 'unknown'.
      677d5c92
  17. 08 Jan, 2013 1 commit
  18. 07 Jan, 2013 2 commits
    • Jürgen Hötzel's avatar
      * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls): · 62bcf670
      Jürgen Hötzel authored
      Handle filename correctly, when parsing "source -> target" symlink
      output.
      (tramp-adb-handle-set-file-times): New defun.
      62bcf670
    • 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
  19. 06 Jan, 2013 2 commits
  20. 05 Jan, 2013 2 commits
  21. 02 Jan, 2013 1 commit
  22. 31 Dec, 2012 1 commit
  23. 27 Dec, 2012 1 commit
  24. 26 Dec, 2012 1 commit
    • Jürgen Hötzel's avatar
      * net/tramp-adb.el (tramp-adb-get-ls-command): New defun. Suppress · bd8c13f9
      Jürgen Hötzel authored
      coloring, if possible (required for BusyBox based systems like
      CynagenMod).
      (tramp-adb-handle-file-attributes)
      (tramp-adb-handle-insert-directory)
      (tramp-adb-handle-file-name-all-completions): Use it.
      (tramp-adb-get-toolbox): New defun.  Check for remote shell
      implementation (BusyBox or Toolbox).
      bd8c13f9
  25. 22 Dec, 2012 1 commit
  26. 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
  27. 14 Dec, 2012 1 commit
  28. 13 Dec, 2012 2 commits
  29. 06 Dec, 2012 1 commit
  30. 05 Dec, 2012 1 commit
  31. 04 Dec, 2012 1 commit