1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-04 02:51:31 -08:00
emacs/lisp/net
Michael Albinus 4657f08b7e Sync with Tramp 2.4.5-pre
* doc/misc/tramp.texi: Adapt Tramp and Emacs version numbers.
(Remote processes): Describe `process-file-return-signal-string'
and $INSIDE_EMACS.
(Frequently Asked Questions): Mention Emacs 28.
Describe `tramp-smb-options'.

* doc/misc/trampver.texi: Change version to "2.4.5-pre".

* lisp/net/tramp-adb.el (process-file-return-signal-string): Declare.
(tramp-adb-handle-write-region): Flush the cache after the file
has been written.
(tramp-adb-handle-set-file-modes, tramp-adb-handle-set-file-times):
Add optional _FLAG.
(tramp-adb-handle-copy-file, tramp-adb-handle-rename-file)
(tramp-adb-handle-process-file): Use `tramp-file-local-name'.
(tramp-adb-get-signal-strings): New defun.
(tramp-adb-handle-process-file): Use it.
(tramp-adb-handle-make-process): Implement `stderr'.  Use
`insert-file-contents-literally'.
(tramp-adb-send-command-and-check): Add optional argument
EXIT-STATUS.
(tramp-adb-handle-process-file): Use it.

* lisp/net/tramp-archive.el (tramp-archive-file-name-handler):
Increase `max-specpdl-size' temporarily.

* lisp/net/tramp-cache.el (top):
Use `insert-file-contents-literally'.

* lisp/net/tramp-cmds.el (tramp-rename-files):
Use `tramp-file-local-name'.

* lisp/net/tramp-gvfs.el (tramp-gvfs-enabled): Prevent crash for
older Emacsen.
(top): Adapt `tramp-gvfs-unload-hook'.
(tramp-gvfs-handle-file-system-info): Fix error.
(tramp-gvfs-handle-set-file-modes, tramp-gvfs-handle-set-file-times):
Add optional _FLAG.

* lisp/net/tramp-rclone.el (tramp-rclone-flush-directory-cache):
Fix a problem with older Emacsen.

* lisp/net/tramp-sh.el (process-file-return-signal-string): Declare.
(tramp-sh-extra-args): Add "-noediting" as bash arg.
(tramp-hexdump-encode, tramp-hexdump-awk-encode)
(tramp-od-encode, tramp-od-awk-encode): New defconst.
(tramp-awk-encode, tramp-awk-decode): Adapt.
(tramp-awk-coding-test): Remove.
(tramp-remote-coding-commands): Add hexdump/awk encoding.  (Bug#35639)
(tramp-find-inline-encoding): Adapt handling of awk, hexdump and od.
(tramp-get-remote-busybox, tramp-get-remote-awk)
(tramp-get-remote-hexdump, tramp-get-remote-od): New defuns.
(tramp-sh-handle-make-symbolic-link):
(tramp-do-copy-or-rename-file-directly)
(tramp-sh-handle-process-file, tramp-set-remote-path)
(tramp-find-inline-encoding, tramp-get-remote-touch):
Use `tramp-file-local-name'.
(tramp-do-file-attributes-with-stat): Simplify shell command.
Suppress errors (interpret as nil).
(tramp-sh-handle-set-file-modes, tramp-sh-handle-set-file-times):
Add optional _FLAG.
(tramp-sh-handle-make-process): Do not visit with
`insert-file-contents'.  Delete tmp file only if exists.  Support
`stderr' as file name.  Delete temporary stderr file.  Flush
connection properties in time.
(tramp-sh-get-signal-strings): New defun.
(tramp-sh-handle-process-file): Use it.
(tramp-sh-handle-write-region): Copy to temp file only if FILENAME
exists.  (Bug#40156)
(tramp-set-remote-path): Send the command in several chunks if it
is too large.  (Bug#42538)
(tramp-open-connection-setup-interactive-shell): Move up "set +o
vi +o emacs" command.   (Bug#39399)
(tramp-send-command-and-read): Suppress `signal-hook-function'
when reading expression.
(tramp-send-command-and-check): Add optional argument EXIT-STATUS.
(tramp-sh-handle-process-file): Use it.  (Bug#41099)

* lisp/net/tramp-smb.el (tramp-smb-conf): Fix docstring.
(tramp-smb-options): New defcustom.
(tramp-smb-handle-copy-directory, tramp-smb-handle-file-acl)
(tramp-smb-handle-set-file-acl, tramp-smb-maybe-open-connection):
Use it.
(tramp-smb-errors): Add "NT_STATUS_INVALID_PARAMETER".
(tramp-smb-handle-make-symbolic-link)
(tramp-smb-handle-process-file): Use `tramp-file-local-name'.

* lisp/net/tramp-sudoedit.el (tramp-sudoedit-do-copy-or-rename-file):
(tramp-sudoedit-handle-set-file-uid-gid):
Use `tramp-unquote-file-local-name'.
(tramp-sudoedit-handle-make-symbolic-link):
Use `tramp-file-local-name'.
(tramp-sudoedit-handle-file-system-info): Fix a scoping error.
(tramp-sudoedit-handle-set-file-modes):
(tramp-sudoedit-handle-set-file-times): Add optional _FLAG.

* lisp/net/tramp.el: Bump version to 2.4.5-pre.
(tramp-file-local-name, tramp-unquote-file-local-name): New defuns.
(tramp-set-connection-local-variables-for-buffer)
(tramp-equal-remote, tramp-handle-make-auto-save-file-name):
Use `tramp-tramp-file-p'.
(tramp-parse-file): Use `insert-file-contents-literally'.
(tramp-handle-file-modes, tramp-handle-file-times):
Add optional _FLAG.
(tramp-handle-shell-command): Fix `window-start' in output buffer.
(Bug#39171)
Handle `shell-command-dont-erase-buffer'.  (Bug#39067)
Reorganize error-buffer handling.  Set `default-directory'.
(Bug#39253)
(tramp-handle-shell-command, tramp-handle-start-file-process):
Implement asynchronous `error-buffer'.
(tramp-action-process-alive): Read pending output.
(tramp-read-passwd): Use `tramp-compat-temporary-file-directory'.
(Bug#39389, Bug#39489)
(tramp-interrupt-process): Improve command.

* lisp/net/trampver.el: Change version to "2.4.5-pre".
(tramp-repository-branch, tramp-repository-version):
Bind `debug-on-error' to nil.

* test/lisp/net/tramp-tests.el (tramp-get-remote-gid)
(process-file-return-signal-string)
(shell-command-dont-erase-buffer): Declare.
(tramp-test10-write-region, tramp-test28-process-file)
(tramp-test29-start-file-process, tramp-test30-make-process)
(tramp-test31-interrupt-process, tramp-test32-shell-command):
Extend test.
(tramp-test10-write-region, tramp-test21-file-links): Use function
symbols.
(tramp-test18-file-attributes): Check `file-ownership-preserved-p'
only if possible.
(tramp--test-async-shell-command): New defun.
(tramp--test-shell-command-to-string-asynchronously): Use it.
(tramp-test32-shell-command-dont-erase-buffer): New test.
2020-08-25 15:18:57 +02:00
..
ange-ftp.el Fix edge case errors in filename-matching regexps 2020-04-14 12:25:16 +02:00
browse-url.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
dbus.el Clean up D-Bus documentation (bug#41744) 2020-06-08 18:19:50 +01:00
dig.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
dns.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
eudc-bob.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
eudc-export.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
eudc-hotlist.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
eudc-vars.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
eudc.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
eudcb-bbdb.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
eudcb-ldap.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
eudcb-mab.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
eww.el Fix eww-follow-link on URLs with #target 2020-05-04 00:40:38 +01:00
gnutls.el Update systems using GnuTLS certificate files 2020-07-18 10:02:28 +03:00
goto-addr.el Example goto-addr hook: MH-E already uses goto-address 2020-02-01 09:06:34 -08:00
hmac-def.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
hmac-md5.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
imap.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ldap.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
mailcap.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
mairix.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
net-utils.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
netrc.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
network-stream.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
newst-backend.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
newst-plainview.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
newst-reader.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
newst-ticker.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
newst-treeview.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
newsticker.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
nsm.el Move “Fix some broken conditional forms” to master 2020-01-05 11:50:31 -08:00
ntlm.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
pop3.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
puny.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
quickurl.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
rcirc.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
rfc2104.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
rlogin.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
sasl-cram.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
sasl-digest.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
sasl-ntlm.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
sasl-scram-rfc.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
sasl.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
secrets.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
shr-color.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
shr.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
sieve-manage.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
sieve-mode.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
sieve.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
snmp-mode.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
soap-client.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
soap-inspect.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
socks.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
telnet.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
tramp-adb.el Sync with Tramp 2.4.5-pre 2020-08-25 15:18:57 +02:00
tramp-archive.el Sync with Tramp 2.4.5-pre 2020-08-25 15:18:57 +02:00
tramp-cache.el Sync with Tramp 2.4.5-pre 2020-08-25 15:18:57 +02:00
tramp-cmds.el Sync with Tramp 2.4.5-pre 2020-08-25 15:18:57 +02:00
tramp-compat.el Sync with Tramp 2.4.5-pre 2020-08-25 15:18:57 +02:00
tramp-ftp.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
tramp-gvfs.el Sync with Tramp 2.4.5-pre 2020-08-25 15:18:57 +02:00
tramp-integration.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
tramp-rclone.el Sync with Tramp 2.4.5-pre 2020-08-25 15:18:57 +02:00
tramp-sh.el Sync with Tramp 2.4.5-pre 2020-08-25 15:18:57 +02:00
tramp-smb.el Sync with Tramp 2.4.5-pre 2020-08-25 15:18:57 +02:00
tramp-sudoedit.el Sync with Tramp 2.4.5-pre 2020-08-25 15:18:57 +02:00
tramp-uu.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
tramp.el Sync with Tramp 2.4.5-pre 2020-08-25 15:18:57 +02:00
trampver.el Sync with Tramp 2.4.5-pre 2020-08-25 15:18:57 +02:00
webjump.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
zeroconf.el Replace add-to-list to lexical variable with push (bug#39373) 2020-02-01 22:27:23 +01:00