1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-18 10:16:51 +00:00
emacs/lisp/net
Michael Albinus 3675b1698d Major rewrite due to changed D-Bus interface of GVFS 1.14.
* net/tramp-gvfs.el (top): Extend check for gvfs availability.
(tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
(tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
New defconst.
(tramp-gvfs-file-name-handler-alist) [directory-files]:
[directory-files-and-attributes, file-exists-p, file-modes]: Use
Tramp default handler.
[file-acl, file-selinux-context, process-file, set-file-acl]:
[set-file-modes, set-file-selinux-context, shell-command]:
[start-file-process ]: Remove handler.
[verify-visited-file-modtime]: New handler.
(tramp-gvfs-dbus-string-to-byte-array)
(tramp-gvfs-dbus-byte-array-to-string): New defuns.  Replace all
calls of `dbus-string-to-byte-array' and
`tramp-gvfs-dbus-byte-array-to-string'.
(tramp-gvfs-handle-copy-file)
(tramp-gvfs-handle-delete-directory)
(tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
(tramp-gvfs-handle-file-directory-p)
(tramp-gvfs-handle-file-executable-p)
(tramp-gvfs-handle-file-name-all-completions)
(tramp-gvfs-handle-file-readable-p)
(tramp-gvfs-handle-file-writable-p)
(tramp-gvfs-handle-insert-directory)
(tramp-gvfs-handle-insert-file-contents)
(tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
(tramp-gvfs-handle-set-visited-file-modtime)
(tramp-gvfs-handle-write-region): Rewrite.
(tramp-gvfs-handle-file-acl)
(tramp-gvfs-handle-file-selinux-context)
(tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
(tramp-gvfs-handle-set-file-modes)
(tramp-gvfs-handle-set-file-selinux-context)
(tramp-gvfs-handle-shell-command)
(tramp-gvfs-handle-start-file-process)
(tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
(tramp-gvfs-url-file-name): Do not use `file-truename', we work
over the symlinks.  Fix user handling.
(top, tramp-gvfs-handler-mounted-unmounted): Handle different names
of the D-Bus signals.
(tramp-gvfs-connection-mounted-p): Handle different names of the
D-Bus methods.
(tramp-gvfs-mount-spec-entry): New defun.
(tramp-gvfs-mount-spec): Use it.
(tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
there is a share name.  Handle different names of the D-Bus
signals and methods.
(tramp-gvfs-maybe-open-connection): Set connection properties
needed for `tramp-check-cached-permissions'.
(tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
Return t or nil.

* net/tramp.el (tramp-backtrace): Move up.
(tramp-error): Apply a backtrace into the debug buffer when
`tramp-verbose > 9.
(tramp-file-mode-type-map, tramp-file-mode-from-int)
(tramp-file-mode-permissions, tramp-get-local-uid)
(tramp-get-local-gid, tramp-check-cached-permissions): Move from
tramp-sh.el.

* net/tramp-sh.el (tramp-file-mode-type-map)
(tramp-check-cached-permissions, tramp-file-mode-from-int)
(tramp-file-mode-permissions, tramp-get-local-uid)
(tramp-get-local-gid): Move to tramp.el.
2013-03-09 12:06:23 +01:00
..
.gitignore
ange-ftp.el Merge from emacs-24; up to 2012-12-17T11:17:34Z!rgm@gnu.org 2013-02-12 20:31:09 -08:00
browse-url.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
dbus.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
dig.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
dns.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
eudc-bob.el Prefer UTF-8 when the encoding shouldn't matter and changes are small. 2013-03-05 09:13:01 -08:00
eudc-export.el Prefer UTF-8 when the encoding shouldn't matter and changes are small. 2013-03-05 09:13:01 -08:00
eudc-hotlist.el Prefer UTF-8 when the encoding shouldn't matter and changes are small. 2013-03-05 09:13:01 -08:00
eudc-vars.el Prefer UTF-8 when the encoding shouldn't matter and changes are small. 2013-03-05 09:13:01 -08:00
eudc.el Prefer UTF-8 when the encoding shouldn't matter and changes are small. 2013-03-05 09:13:01 -08:00
eudcb-bbdb.el Prefer UTF-8 when the encoding shouldn't matter and changes are small. 2013-03-05 09:13:01 -08:00
eudcb-ldap.el Prefer UTF-8 when the encoding shouldn't matter and changes are small. 2013-03-05 09:13:01 -08:00
eudcb-mab.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
eudcb-ph.el Prefer UTF-8 when the encoding shouldn't matter and changes are small. 2013-03-05 09:13:01 -08:00
gnutls.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
goto-addr.el * lisp/net/goto-addr.el (goto-address-fontify): Add start and end args. 2013-02-14 10:53:46 -05:00
hmac-def.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
hmac-md5.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
imap.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
ldap.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
mairix.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
net-utils.el * lisp/net/net-utils.el (net-utils-run-simple): Don't display-buffer 2013-03-01 12:27:57 -05:00
netrc.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
network-stream.el * lisp/net/network-stream.el (network-stream-open-starttls): 2013-02-15 18:45:24 -08:00
newst-backend.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
newst-plainview.el Make S-SPC scroll in the opposite direction to SPC 2013-02-11 20:46:18 -08:00
newst-reader.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
newst-ticker.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
newst-treeview.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
newsticker.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
ntlm.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
quickurl.el * net/quickurl.el (quickurl-save-urls): Ensure quickurl-urls is not truncated 2013-02-13 23:50:57 -08:00
rcirc.el * net/rcirc.el (rcirc-keepalive): Fix invalid timer error. 2013-02-18 00:26:38 +08:00
rcompile.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
rlogin.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
sasl-cram.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
sasl-digest.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
sasl-ntlm.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
sasl.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
secrets.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
snmp-mode.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
soap-client.el * net/soap-client.el (soap-invoke): Encode the string for 2013-02-01 08:28:10 +01:00
soap-inspect.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
socks.el * net/socks.el (socks-nslookup-host): Use string-to-number. 2013-01-25 19:48:35 +04:00
telnet.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
tls.el Merge from emacs-24; up to 2012-12-06T01:39:03Z!monnier@iro.umontreal.ca 2013-01-02 08:13:04 -08:00
tramp-adb.el * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache, 2013-03-03 11:31:01 +01:00
tramp-cache.el * net/tramp-cache.el (tramp-get-hash-table): New defun. 2013-02-19 16:17:55 +01:00
tramp-cmds.el * tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers): Mark 2013-01-22 09:49:03 +01:00
tramp-compat.el * net/tramp-compat.el (tramp-compat-delete-directory): Implement 2013-03-05 16:55:53 +01:00
tramp-ftp.el Merge from emacs-24; up to 2012-12-06T01:39:03Z!monnier@iro.umontreal.ca 2013-01-02 08:13:04 -08:00
tramp-gvfs.el Major rewrite due to changed D-Bus interface of GVFS 1.14. 2013-03-09 12:06:23 +01:00
tramp-gw.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
tramp-sh.el Major rewrite due to changed D-Bus interface of GVFS 1.14. 2013-03-09 12:06:23 +01:00
tramp-smb.el Improve XEmacs compatibility. 2013-01-21 10:49:43 +01:00
tramp-uu.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
tramp.el Major rewrite due to changed D-Bus interface of GVFS 1.14. 2013-03-09 12:06:23 +01:00
trampver.el Merge from emacs-24; up to 2012-12-06T01:39:03Z!monnier@iro.umontreal.ca 2013-01-02 08:13:04 -08:00
webjump.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
xesam.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
zeroconf.el Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00