[Telepathy-commits] merge: telepathy-glib
Merge Monkey
monkey at collabora.co.uk
Wed Dec 12 09:56:40 PST 2007
Merge to:
telepathy-glib
From:
/home/smcv/public_html/darcs/tp-glib-smcv
Changes:
Simon McVittie <simon.mcvittie at collabora.co.uk>
test-disconnection: comments, whitespace, specificially assert at the end that *all* user_data is freed
Simon McVittie <simon.mcvittie at collabora.co.uk>
TpProxy: Don't leak a reference to the D-Bus connection if both dbus-daemon and dbus-connection are explicitly provided
Simon McVittie <simon.mcvittie at collabora.co.uk>
Fix life cycle of objects involved in signal connections:
* don't ref the TpProxy
* cancel the signal connection if the TpProxy is invalidated or destroyed
(invalidation should always happen first, but in case it doesn't...)
* unref the DBusGProxies if one of them gets destroyed
* unref the DBusGProxies in _dispose
Simon McVittie <simon.mcvittie at collabora.co.uk>
tests/dbus: don't bother explicitly listing SOURCES for tests where Automake would get it right anyway
Simon McVittie <simon.mcvittie at collabora.co.uk>
Don't weak-unref already dead objects. Patch from Xavier Claessens, bugs.fd.o #13559
Simon McVittie <simon.mcvittie at collabora.co.uk>
TpProxy: fix life cycle when things go wrong with a call pending:
* generate raise_error stubs and store them in the pending call structure,
so we can raise an error if the TpProxy gets invalidated while we're
in the middle of a call
* track whether the callback has been called and ensure that it gets called
exactly once
* if the pending call is freed before its callback has been called, infer
that the DBusGProxy is about to be destroyed, and invalidate the TpProxy
slightly early so the callback will be called with an error
Simon McVittie <simon.mcvittie at collabora.co.uk>
Bounce D-Bus signals via a generated static callback rather than having dbus-glib invoke the user's callback directly
Simon McVittie <simon.mcvittie at collabora.co.uk>
TpProxy: set up a global GError to use when DBusGProxy dies
Simon McVittie <simon.mcvittie at collabora.co.uk>
Fix test-call-cancellation comments to not refer to signal connections
Simon McVittie <simon.mcvittie at collabora.co.uk>
Add test for signal disconnection
Simon McVittie <simon.mcvittie at collabora.co.uk>
TpProxy: add life-cycle debug
Simon McVittie <simon.mcvittie at collabora.co.uk>
Upgrade some assertions from return_if_fail to assert - they're in internal API
Simon McVittie <simon.mcvittie at collabora.co.uk>
Clarify when the user-supplied destructor for signal connections will be called
Simon McVittie <simon.mcvittie at collabora.co.uk>
Fix up TpProxy to cope with the "forwarder" callbacks being given to dbus-glib
Simon McVittie <simon.mcvittie at collabora.co.uk>
Run tests with G_DEBUG=fatal_warnings,fatal_criticals
Simon McVittie <simon.mcvittie at collabora.co.uk>
Add a regression test for call cancellation
Simon McVittie <simon.mcvittie at collabora.co.uk>
Fix whitespace in test-call-cancellation
Simon McVittie <simon.mcvittie at collabora.co.uk>
tp_proxy_invalidated: improve assertions
More information about the Telepathy-commits
mailing list