18:25 < neal> the service supports introspection 18:25 < smcv> that's not relevant 18:25 < smcv> dbus-glib never uses introspection ... 18:26 < neal> then dbus_g_proxy_add_signal () is required? 18:26 < smcv> oh yeah, there used to be a documentation bug where it claimed it was unnecessary 18:26 < smcv> is that still true? :-( ... 18:27 < smcv> if that documentation was actually true I'd consider it to be a critical bug, since that would let the signal-emitter crash dbus-glib by providing wrong arguments 18:27 < smcv> possibly with arbitrary code execution 18:27 < smcv> we should fix the documentation though
Created attachment 45582 [details] [review] dbus_g_proxy_add_signal: stop falsely claiming that we read introspection If we believed the introspection, services could change their introspection and remote-crash us, so it's good that we don't. We shouldn't claim that we do, though. The second sentence is subtle: for D-Bus types that dbus-glib can map into more than one GLib type, you must currently use the one that dbus-glib would "naturally" produce. The only example I can find is that object paths must be DBUS_TYPE_G_OBJECT_PATH, even though dbus-glib can also (in principle) unmarshal object-paths as DBUS_TYPE_G_PROXY.
Created attachment 45583 [details] [review] dbus_g_proxy_add_signal: document error cases
Review of attachment 45582 [details] [review]: Looks great.
(In reply to comment #3) > Review of attachment 45582 [details] [review]: > > Looks great. Fixed in git for 0.93, thanks. How about the other one?
Created attachment 45804 [details] [review] dbus_g_proxy_add_signal: document error cases (patch v2) Same patch, adjusted to apply now that Bug #23616 has been fixed.
Review of attachment 45804 [details] [review]: Looks good (assuming that's actually an error :)
Thanks; fixed in git for 0.94 based on Guillaume's review + no objections from the reviewer group
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.