Re: [Telepathy] [Fwd: tp-qt4 qsharedpointer usage]

2009-03-18 Thread Andre Moreira Magalhaes
Kenneth Rohde Christiansen wrote: > Maybe it is interesting for you to look at the WebKit smart pointers. > There is a document explaining them here: > > http://webkit.org/coding/RefPtr.html > > RefPtr is like more or less like an optimized > QExplictlySharedDataPointer, and RefCounted is like QS

Re: [Telepathy] [Fwd: tp-qt4 qsharedpointer usage]

2009-03-18 Thread Andre Moreira Magalhaes
Andre Moreira Magalhaes wrote: > Ian Monroe wrote: > >> I wrote a bug about the issue last month: >> https://bugs.freedesktop.org/show_bug.cgi?id=20299 >> >> Like I said in the bug report, using KSharedPtr would allow us to always >> return a KSharedPtr since the counting occurs in the object i

[Telepathy] [Bug 16886] impossible to leave MUCs with a reason

2009-03-18 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=16886 Simon McVittie changed: What|Removed |Added Blocks||20728 -- Configure bugmail: http://

Re: [Telepathy] [Fwd: tp-qt4 qsharedpointer usage]

2009-03-18 Thread Kenneth Rohde Christiansen
Maybe it is interesting for you to look at the WebKit smart pointers. There is a document explaining them here: http://webkit.org/coding/RefPtr.html RefPtr is like more or less like an optimized QExplictlySharedDataPointer, and RefCounted is like QSharedData. Kenneth On Wed, Mar 18, 2009 at 12:

Re: [Telepathy] ANNOUNCE: telepathy-farsight 0.0.6

2009-03-18 Thread Will Thompson
Olivier Crête wrote: > In this case, it's not really a security problem, since its already the > output of printf [...] Nothing stops the output containing a "%s". :) -- Will signature.asc Description: OpenPGP digital signature ___ telepathy mailin

Re: [Telepathy] ANNOUNCE: telepathy-farsight 0.0.6

2009-03-18 Thread Olivier Crête
On Tue, 2009-03-17 at 23:03 +, Frederik Himpe wrote: > On Tue, 17 Mar 2009 18:29:43 -0400, Olivier Crête wrote: > > > Small bug fix release.. > > > > Make reading of the RelayInfo property actually work. > > > > Available from: > > http://telepathy.freedesktop.org/releases/telepathy-farsight

Re: [Telepathy] [Fwd: tp-qt4 qsharedpointer usage]

2009-03-18 Thread Andre Moreira Magalhaes
Ian Monroe wrote: > I wrote a bug about the issue last month: > https://bugs.freedesktop.org/show_bug.cgi?id=20299 > > Like I said in the bug report, using KSharedPtr would allow us to always > return a KSharedPtr since the counting occurs in the object itself (via > QSharedPointer), instead of a

Re: [Telepathy] [Fwd: tp-qt4 qsharedpointer usage]

2009-03-18 Thread Ian Monroe
On Wednesday 18 March 2009 08:04:51 Ian Monroe wrote: > Like I said in the bug report, using KSharedPtr would allow us to always > return a KSharedPtr since the counting occurs in the object itself (via > ***QSharedPointer***), instead of an external pointer type. Bah, I meant QSharedData here. __

Re: [Telepathy] [Fwd: tp-qt4 qsharedpointer usage]

2009-03-18 Thread Ian Monroe
On Wednesday 18 March 2009 07:49:19 Andre Moreira Magalhaes wrote: > Hi guys, > > While developing the call example, I found some issues regarding tp-qt4 > QSharedPointer usage that I would like to discuss. > > In the current version we are using QSharedPointer whenever we need to > create a new ob

[Telepathy] [Fwd: tp-qt4 qsharedpointer usage]

2009-03-18 Thread Andre Moreira Magalhaes
Original Message Subject:tp-qt4 qsharedpointer usage Date: Wed, 18 Mar 2009 01:24:37 -0300 From: Andre Moreira Magalhaes To: Simon McVittie , Olli Salli Hi guys, While developing the call example, I found some issues regarding tp-qt4 QSharedPointer usage

Re: [Telepathy] [Bug 20034] Avatar cache reference implementation

2009-03-18 Thread Guilhem Bonnefille
Sorry for the noise. I did not imagine that Telepathy has to provide such interface. Just that Telepathy can focus on IM and delegates the avatar retrieving to another D-Bus service. This is then the responsability of the IM client to decide if it needs avatar or not, and contacts the Avatar servic

[Telepathy] [Bug 20034] Avatar cache reference implementation

2009-03-18 Thread bugzilla-daemon
http://bugs.freedesktop.org/show_bug.cgi?id=20034 --- Comment #2 from Simon McVittie 2009-03-18 05:09:45 PST --- Only if you want to write *clients* in telepathy-python, which is not currently very easy due to dbus-python and telepathy-python deficiencies. Our policy is that clients, not CM

Re: [Telepathy] [Bug 20034] Avatar cache reference implementation

2009-03-18 Thread Simon McVittie
On Wed, 18 Mar 2009 at 09:37:34 +0100, Guilhem Bonnefille wrote: > Reading this bug, I have a (foolish) idea: what about having a D-Bus > provider for avatar? This is far, far out of scope for Telepathy. > But we can imagine to add a more complex machinery allowing to > retrieve avatars from web

Re: [Telepathy] [Bug 20034] Avatar cache reference implementation

2009-03-18 Thread Johann Prieur
Hi, On Wed, Mar 18, 2009 at 9:37 AM, Guilhem Bonnefille wrote: > Hi, > > Reading this bug, I have a (foolish) idea: what about having a D-Bus > provider for avatar? > First service can be to store avatars on local machine. So, this can > afford caching service. > But we can imagine to add a more

Re: [Telepathy] [Bug 20034] Avatar cache reference implementation

2009-03-18 Thread Guilhem Bonnefille
Hi, Reading this bug, I have a (foolish) idea: what about having a D-Bus provider for avatar? First service can be to store avatars on local machine. So, this can afford caching service. But we can imagine to add a more complex machinery allowing to retrieve avatars from web services (like gravata