[Bug 23155] New: Connection: refcount handles
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Aug 5 17:07:37 CEST 2009
http://bugs.freedesktop.org/show_bug.cgi?id=23155
Summary: Connection: refcount handles
Product: Telepathy
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: telepathy-spec
AssignedTo: telepathy-bugs at lists.freedesktop.org
ReportedBy: simon.mcvittie at collabora.co.uk
Blocks: 23148
Connection should perform distributed reference-counting for (at least Contact)
handles.
Proposed migration path:
* add client_unref_handle() method to TpHandleRepoIface
* change the semantics of HoldHandles to "always add one reference", and
ReleaseHandles to "remove all references owned by this client" (this is
compatible)
* change the semantics of GetContactAttributes to ref the handles rather than
holding them (this is compatible)
* add ReferenceHandles, UnreferenceHandles to Connection (only working on
Contact handles, perhaps); ReferenceHandles is not strictly necessary but is
more consistent
* augment TpBaseConnection and the Python equivalent to implement both sets of
D-Bus API
* when those changes are old enough to rely on, change clients to ref handles
instead of holding them
* in Telepathy 1.0 (Bug #23148), delete HoldHandles and ReleaseHandles
* when telepathy-glib API is broken, remove the supporting C API for
ReleaseHandles, and rename client_hold_handle() to client_ref_handle() to
reflect its new semantics
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the telepathy-bugs
mailing list