Commit graph

59 commits

Author SHA1 Message Date
Jürgen Hötzel
bd8c13f9fa * net/tramp-adb.el (tramp-adb-get-ls-command): New defun. Suppress
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).
2012-12-26 17:22:18 +01:00
Michael Albinus
cdb0753962 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Check
properties of remote device.  Restart connection, if there is a
change.
2012-12-22 14:44:06 +01:00
Michael Albinus
53b6a8b113 Add support for preserving ACL entries of files.
* 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.
2012-12-17 15:38:07 +01:00
Michael Albinus
b421decc52 Explain, why `tramp-*-file-name-p' is a defsubst. 2012-12-14 10:02:34 +01:00
Michael Albinus
6ce2146306 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
Otherwise, there could be errors in autoloading.  (Bug#13151)
2012-12-13 09:42:25 +01:00
Jürgen Hötzel
d754b364fa * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
sequences.
2012-12-13 09:38:16 +01:00
Glenn Morris
7fc5e83f7f Convert consecutive copyright years to range 2012-12-05 23:33:20 -08:00
Michael Albinus
51b890acbf * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt): Use
group `tramp'.  Add version.
2012-12-05 11:09:54 +01:00
Juergen Hoetzel
0ec3f7ead1 * net/tramp-adb.el: New package. 2012-12-04 17:53:01 +01:00