<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chemacs.git/src/dbusbind.c, 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>* src/dbusbind.c: Include fcntl.h if needed.  (Bug#80373)</title>
<updated>2026-02-22T15:30:19Z</updated>
<author>
<name>Michael Albinus</name>
<email>michael.albinus@gmx.de</email>
</author>
<published>2026-02-22T15:30:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=195d2f7a7497e08cc86454a63412ffbb49efc13f'/>
<id>urn:sha1:195d2f7a7497e08cc86454a63412ffbb49efc13f</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>; * src/dbusbind.c (Fdbus_registered_inhibitor_locks): Fix signature.</title>
<updated>2026-01-18T17:03:57Z</updated>
<author>
<name>Eli Zaretskii</name>
<email>eliz@gnu.org</email>
</author>
<published>2026-01-18T17:03:57Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=f9e063e922bdf1c38ba7c79ac441b5a50658f151'/>
<id>urn:sha1:f9e063e922bdf1c38ba7c79ac441b5a50658f151</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>Pacify gcc -Wdangling-else in dbusbind.c</title>
<updated>2025-12-03T01:46:56Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2025-12-03T00:32:04Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=3930d12e4dcb2d79d70c3aa8a199aec0340d0b39'/>
<id>urn:sha1:3930d12e4dcb2d79d70c3aa8a199aec0340d0b39</id>
<content type='text'>
* src/dbusbind.c (XD_DBUS_VALIDATE_BUS_NAME)
(XD_DBUS_VALIDATE_PATH, XD_DBUS_VALIDATE_INTERFACE)
(XD_DBUS_VALIDATE_MEMBER): Make these expand to single statements
when they are followed by ‘;’.  All uses changed.
</content>
</entry>
<entry>
<title>Merge branch 'scratch/no-purespace' into 'master'</title>
<updated>2025-02-01T03:56:52Z</updated>
<author>
<name>Stefan Kangas</name>
<email>stefankangas@gmail.com</email>
</author>
<published>2025-02-01T03:56:52Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=bf97946d7dc460b7d3c3ce03193041b891b51faf'/>
<id>urn:sha1:bf97946d7dc460b7d3c3ce03193041b891b51faf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Simplify make_formatted_string API</title>
<updated>2025-01-27T07:05:50Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2025-01-27T06:15:48Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=f885806fdf1aa862ad55d124e9795794fed0b964'/>
<id>urn:sha1:f885806fdf1aa862ad55d124e9795794fed0b964</id>
<content type='text'>
From a suggestion by Pip Cet.
* src/alloc.c (make_formatted_string): Omit first argument,
to simplify the calling convention.  All callers changed.
* src/doprnt.c (doprnt): Also support %u.  Update doc.
</content>
</entry>
</feed>
