emacs/lisp/net
Michael Albinus 89209a83b6 Support D-Bus file descriptor manipulation
* doc/misc/dbus.texi (Synchronous Methods): Adapt `dbus-call-method'.
(Asynchronous Methods): Adapt `dbus-call-method-asynchronously'.
(File Descriptors): New chapter, replaces Inhibitor Locks.

* etc/NEWS: Replace "New D-Bus functions to support systemd
inhibitor locks" by "Support D-Bus file descriptor manipulation".
Presentational fixes and improvements.

* lisp/net/dbus.el (dbus-call-method)
(dbus-call-method-asynchronously): Adapt docstring.
(dbus-list-hash-table): Return (nreverse result).
(dbus-monitor-goto-serial): Declare `completion'.

* src/dbusbind.c (Fdbus_message_internal, xd_read_message_1):
Handle `:keep-fd'.
(xd_registered_inhibitor_locks, Fdbus_make_inhibitor_lock)
(Fdbus_close_inhibitor_lock, Fdbus_registered_inhibitor_locks): Delete.
(xd_registered_fds): New variable.
(Fdbus__fd_open, Fdbus__fd_close, Fdbus__registered_fds):
New DEFUNs.  (Bug#79963)
(syms_of_dbusbind_for_pdumper): Initialize `xd_registered_fds'.
(syms_of_dbusbind): Remove subroutines
`Sdbus_make_inhibitor_lock', `Sdbus_close_inhibitor_lock' and
`Sdbus_registered_inhibitor_locks'.  Remove symbol `Qdbus_call_method'.
Declare subroutines `Sdbus__fd_open', `Sdbus__fd_close' and
`Sdbus__registered_fds'.  Declare symbol `QCkeep_fd'.  staticpro
`xd_registered_fds'.

* test/lisp/net/dbus-tests.el (dbus-test10-inhibitor-locks): Delete.
(dbus-test10-keep-fd, dbus-test10-open-close-fd): New tests.
2026-02-07 11:32:54 +01:00
..
ange-ftp.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
browse-url.el ; * lisp/net/browse-url.el (browse-url-with-browser-kind): Fix call. 2026-01-20 14:44:49 +00:00
dbus.el Support D-Bus file descriptor manipulation 2026-02-07 11:32:54 +01:00
dictionary-connection.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
dictionary.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
dig.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
dns.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
eudc-bob.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
eudc-capf.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
eudc-export.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
eudc-hotlist.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
eudc-vars.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
eudc.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
eudcb-bbdb.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
eudcb-ecomplete.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
eudcb-ldap.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
eudcb-mab.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
eudcb-macos-contacts.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
eudcb-mailabbrev.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
eww.el Call browser functions via `browse-url' 2026-01-20 10:31:03 +00:00
gnutls.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
goto-addr.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
hmac-def.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
hmac-md5.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
imap.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
ldap.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
mailcap.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
mairix.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
net-utils.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
network-stream.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
newst-backend.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
newst-plainview.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
newst-reader.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
newst-ticker.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
newst-treeview.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
newsticker.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
nsm.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
ntlm.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
pop3.el ; Remove redundant cl-lib runtime dependencies across lisp/ 2026-01-17 15:32:15 +02:00
puny.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
rcirc.el Support `undo'ing user input after messages are received 2026-01-25 12:26:19 +01:00
rfc2104.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
sasl-cram.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
sasl-digest.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
sasl-ntlm.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
sasl-scram-rfc.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
sasl-scram-sha256.el ; Remove redundant cl-lib runtime dependencies across lisp/ 2026-01-17 15:32:15 +02:00
sasl.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
secrets.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
shr-color.el ; Remove redundant cl-lib runtime dependencies across lisp/ 2026-01-17 15:32:15 +02:00
shr.el Call browser functions via `browse-url' 2026-01-20 10:31:03 +00:00
sieve-manage.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
sieve-mode.el ; * lisp/net/sieve-mode.el (sieve-indent-offset) 2026-01-10 15:32:35 +02:00
sieve.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
snmp-mode.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
soap-client.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
soap-inspect.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
socks.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
telnet.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
tramp-adb.el Organize tramp-adb-handle-make-process a little bit better 2026-01-27 18:25:05 +01:00
tramp-androidsu.el ; Minor Tramp cleanup 2026-01-19 12:28:18 +01:00
tramp-archive.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
tramp-cache.el ; Tramp code cleanup 2026-01-24 10:15:29 +01:00
tramp-cmds.el ; Tramp code cleanup 2026-01-24 10:15:29 +01:00
tramp-compat.el ; Tramp code cleanup 2026-01-24 10:15:29 +01:00
tramp-container.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
tramp-crypt.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
tramp-ftp.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
tramp-fuse.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
tramp-gvfs.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
tramp-integration.el ; Minor Tramp cleanup 2026-01-19 12:28:18 +01:00
tramp-message.el Extend Tramp traces 2026-01-20 12:31:51 +01:00
tramp-rclone.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
tramp-sh.el External Tramp methods can be used in multi-hops 2026-01-06 15:20:58 +01:00
tramp-smb.el ; Minor Tramp cleanup 2026-01-19 12:28:18 +01:00
tramp-sshfs.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
tramp-sudoedit.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
tramp-uu.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
tramp.el ; Minor Tramp cleanup 2026-01-19 12:28:18 +01:00
trampver.el External Tramp methods can be used in multi-hops 2026-01-06 15:20:58 +01:00
webjump.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
zeroconf.el ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00