<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chemacs.git/test/lisp/net/dbus-tests.el, branch master</title>
<subtitle>emacs
</subtitle>
<id>http://cgit.adnoto.dev/chemacs.git/atom?h=master</id>
<link rel='self' href='http://cgit.adnoto.dev/chemacs.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/'/>
<updated>2026-05-28T08:03:05Z</updated>
<entry>
<title>dbus-call-method-asynchronously supports also an ERROR-HANDLER</title>
<updated>2026-05-28T08:03:05Z</updated>
<author>
<name>Michael Albinus</name>
<email>michael.albinus@gmx.de</email>
</author>
<published>2026-05-28T08:03:05Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=833553dd9aec0072961a7f1a7797f9481855a07f'/>
<id>urn:sha1:833553dd9aec0072961a7f1a7797f9481855a07f</id>
<content type='text'>
* doc/misc/dbus.texi (Asynchronous Methods): HANDLER can also be
(HANDLER . ERROR-HANDLER).

* etc/NEWS: Mention ERROR-HANDLER of dbus-call-method-asynchronously.

* lisp/net/dbus.el (dbus-call-method-asynchronously): Adapt docstring.
(dbus-check-event, dbus-handle-event): HANDLER can also be
(HANDLER . ERROR-HANDLER).

* src/dbusbind.c (Fdbus_message_internal): HANDLER can also be
(HANDLER . ERROR-HANDLER).  (Bug#80952)

* test/lisp/net/dbus-tests.el (dbus--test-method-another-handler)
(dbus--test-method-error-handler): New defvars.
(dbus--test-method-another-handler)
(dbus--test-method-error-handler): New functions.
(dbus-test04-call-method-error-handler): New test.
(dbus-test10-keep-fd): Extend test.
</content>
</entry>
<entry>
<title>; * test/lisp/net/dbus-tests.el: Remove obsolete function declarations.</title>
<updated>2026-02-11T13:17:30Z</updated>
<author>
<name>Michael Albinus</name>
<email>michael.albinus@gmx.de</email>
</author>
<published>2026-02-11T13:17:30Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=17fb8a45f76500e354fd2a20bcf8c68ac740dcbe'/>
<id>urn:sha1:17fb8a45f76500e354fd2a20bcf8c68ac740dcbe</id>
<content type='text'>
</content>
</entry>
<entry>
<title>; * test/lisp/net/dbus-tests.el: no warnings for non-dbus configs</title>
<updated>2026-02-11T10:06:54Z</updated>
<author>
<name>Mattias Engdegård</name>
<email>mattias.engdegard@gmail.com</email>
</author>
<published>2026-02-10T13:05:43Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=37891d1a1e3dded6fd26478e9b2012ca433dfd4f'/>
<id>urn:sha1:37891d1a1e3dded6fd26478e9b2012ca433dfd4f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Support D-Bus file descriptor manipulation</title>
<updated>2026-02-07T10:32:54Z</updated>
<author>
<name>Michael Albinus</name>
<email>michael.albinus@gmx.de</email>
</author>
<published>2026-02-07T10:32:54Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=89209a83b60c87d97f0c05dbf6cb29ff3cdf3d5a'/>
<id>urn:sha1:89209a83b60c87d97f0c05dbf6cb29ff3cdf3d5a</id>
<content type='text'>
* 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.
</content>
</entry>
<entry>
<title>; * test/lisp/net/dbus-tests.el: Fix typos.</title>
<updated>2026-01-22T08:58:37Z</updated>
<author>
<name>Michael Albinus</name>
<email>michael.albinus@gmx.de</email>
</author>
<published>2026-01-22T08:58:37Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=2696eff451e6b42edddca66c807c320cb89aee35'/>
<id>urn:sha1:2696eff451e6b42edddca66c807c320cb89aee35</id>
<content type='text'>
</content>
</entry>
<entry>
<title>; * test/lisp/net/dbus-tests.el: hush warnings on no-dbus platforms</title>
<updated>2026-01-21T15:22:05Z</updated>
<author>
<name>Mattias Engdegård</name>
<email>mattias.engdegard@gmail.com</email>
</author>
<published>2026-01-21T14:36:52Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=fe2469c1c139e85742cf56dc2a9b6eaf7aad36a7'/>
<id>urn:sha1:fe2469c1c139e85742cf56dc2a9b6eaf7aad36a7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>New D-Bus functions to support systemd inhibitor locks</title>
<updated>2026-01-17T10:40:31Z</updated>
<author>
<name>Michael Albinus</name>
<email>michael.albinus@gmx.de</email>
</author>
<published>2026-01-17T10:40:31Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=ab77b4b60ca1837e2da5147e6604cd2020567b80'/>
<id>urn:sha1:ab77b4b60ca1837e2da5147e6604cd2020567b80</id>
<content type='text'>
* doc/misc/dbus.texi (Top): Add "Inhibitor Locks" submenu.
Remove trailing period from chapter and section titles.
(Inhibitor Locks): New node.

* etc/NEWS: New D-Bus functions to support systemd inhibitor locks.
Presentational fixes and improvements.

* src/dbusbind.c (xd_registered_inhibitor_locks): New variable.
(Fdbus_make_inhibitor_lock, Fdbus_close_inhibitor_lock)
(Fdbus_registered_inhibitor_locks): New DEFUNs.  (Bug#79963)
(syms_of_dbusbind_for_pdumper): Initialize
`xd_registered_inhibitor_locks'.
(syms_of_dbusbind): Declare subroutines
`Sdbus_make_inhibitor_lock', `Sdbus_close_inhibitor_lock' and
`Sdbus_registered_inhibitor_locks'.  Declare symbol `Qdbus_call_method'.
staticpro `xd_registered_inhibitor_locks'.

* test/lisp/net/dbus-tests.el (dbus--test-systemd-service)
(dbus--test-systemd-path, dbus--test-systemd-manager-interface):
New defconsts.
(dbus-test10-inhibitor-locks): New test.
</content>
</entry>
<entry>
<title>Call all registered D-Bus signal handlers</title>
<updated>2026-01-14T09:41:41Z</updated>
<author>
<name>Michael Albinus</name>
<email>michael.albinus@gmx.de</email>
</author>
<published>2026-01-14T09:41:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=5a1ced4b243f60918508edace80e6ce5a4f7d09d'/>
<id>urn:sha1:5a1ced4b243f60918508edace80e6ce5a4f7d09d</id>
<content type='text'>
* doc/misc/dbus.texi (Signals): All registered signal handlers are
called.
(Synchronous Methods, Signals, Monitoring Messages): Add function
result in examples.

* src/dbusbind.c (xd_store_event): New function.
(xd_read_message_1): Use it.  Call all registered handlers per
signal.  (Bug#80168)

* test/lisp/net/dbus-tests.el (dbus--test-signal-handler): Adapt defun.
(dbus--test-signal-handler1, dbus--test-signal-handler2): New defuns.
(dbus-test05-register-signal-several-handlers): New test.
(dbus-test04-register-method)
(dbus-test04-call-method-authorizable)
(dbus-test05-register-signal)
(dbus-test05-register-signal-with-nils)
(dbus-test06-register-property-emits-signal): Adapt tests.
</content>
</entry>
<entry>
<title>; Add 2026 to copyright years.</title>
<updated>2026-01-01T12:54:34Z</updated>
<author>
<name>Sean Whitton</name>
<email>spwhitton@spwhitton.name</email>
</author>
<published>2026-01-01T12:54:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=c31f6adc31d48076c63ad82b83b2970e1b0d7b9b'/>
<id>urn:sha1:c31f6adc31d48076c63ad82b83b2970e1b0d7b9b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Don't call dbus-launch in dbus-tests.el</title>
<updated>2025-10-06T16:10:06Z</updated>
<author>
<name>Michael Albinus</name>
<email>michael.albinus@gmx.de</email>
</author>
<published>2025-10-06T16:10:06Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=1df9cfdb135847bc3783d627e5244327a51fc1e1'/>
<id>urn:sha1:1df9cfdb135847bc3783d627e5244327a51fc1e1</id>
<content type='text'>
* test/lisp/net/dbus-tests.el (dbus-test02-register-service-own-bus):
Adapt test.  Don't use dbus-launch, call dbus-daemon directly.
See &lt;1117059@bugs.debian.org&gt;.
See &lt;https://lists.debian.org/debian-devel/2016/08/msg00554.html&gt;.

* test/lisp/net/dbus-resources/session.conf.in: New file.  It is
copied from &lt;https://salsa.debian.org/debian/flatpak/-/blob/debian/
trixie/tests/session.conf.in&gt;.
</content>
</entry>
</feed>
