At the service side, allow declaring that PropertiesChanged will send only the property name (:invalidates) or that the signal will not be emitted at all, either because the property is a constant (:const) or for another reason (false). If true it sends the signal with the property value.
(A classic case of yak shaving: to fix #115 it will be necessary to add/change some API around service side properties, and it does not make sense to do it while EmitsChangedSIgnal is not clear.)
[x] add unit tests for new code
[x] put this high level description to News, yard, comments, or commit messages
Coverage increased (+0.1%) to 93.665% when pulling b110792fcf1f8aabd9c279f88e8c20bf1f338c2d on emits_changed_signal into 44dac02e4d533f74eb415a4f7026f70ec35df769 on master.
At the service side, allow declaring that
PropertiesChanged
will send only the property name (:invalidates
) or that the signal will not be emitted at all, either because the property is a constant (:const
) or for another reason (false
). Iftrue
it sends the signal with the property value.See also the description of the
org.freedesktop.DBus.Property.EmitsChangedSignal
annotation at https://dbus.freedesktop.org/doc/dbus-specification.html#introspection-format(A classic case of yak shaving: to fix #115 it will be necessary to add/change some API around service side properties, and it does not make sense to do it while EmitsChangedSIgnal is not clear.)