]> git.eshelyaron.com Git - emacs.git/commit
D-Bus: keep type information in D-Bus events
authorMichael Albinus <michael.albinus@gmx.de>
Wed, 16 Sep 2020 12:32:57 +0000 (14:32 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Wed, 16 Sep 2020 12:32:57 +0000 (14:32 +0200)
commit92f342f38dd82aae4a662708dd6280fdfb2e013b
treed6c895200d165224678d04b51ae03d8f149ca23a
parent96f1fedf4dd662dbd5bba7eebc0b9c9e926fbce6
D-Bus: keep type information in D-Bus events

* doc/misc/dbus.texi (Errors and Events):
* etc/NEWS: D-Bus events keep the type information of their arguments.

* lisp/net/dbus.el (dbus-check-event): Fix docstring.
(dbus-delete-types, dbus-flatten-types): New defuns.
(dbus-handle-event, dbus-register-property, dbus-property-handler):
Handle type information.
(dbus-set-property): Fix thinko.

* src/dbusbind.c (XD_BASIC_DBUS_TYPE): Simplify.
(xd_dbus_type_to_symbol): New function.
(xd_retrieve_arg): Return type information for the arguments.
(xd_read_message_1):  Return type information for the error name.
(dbus-registered-objects-table): Fix docstring.
doc/misc/dbus.texi
etc/NEWS
lisp/net/dbus.el
src/dbusbind.c