<div class="gmail_quote">On Tue, Feb 15, 2011 at 8:35 PM, Stefano Sanfilippo <span dir="ltr">&lt;<a href="mailto:stefano.k.sanfilippo@gmail.com">stefano.k.sanfilippo@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi everybody,<br>
<br>
I&#39;ve been inspecting telepathy-logger and empathy, for kde-telepathy Log<br>
integration.<br>
<br>
Eventually, I concluded that:<br>
  * TP logger grabs and record any active tube to Connection Managers, so no<br>
     need for explicit log recording setup (but an on/off configuration<br>
     switch, would be welcomed)<br>
  * TP Logger has a query API which relies on glib, besides dbus.<br>
<br>
For the latter point (log querying and display), I&#39;ve written a glue Qt<br>
object, taking inspiration from [ <a href="http://telepathy.freedesktop.org/wiki/Logger" target="_blank">http://telepathy.freedesktop.org/wiki/Logger</a><br>
].<br>
<br>
I think that the log viewer should be a standalone program (so when we enable<br>
nepomuk log indexing, we may use it as a popup viewer/ui component).<br>
<br></blockquote><div>It&#39;s quite important that we have a distinction here, we&#39;re talking about a Qt library for reading Tp logs and about making a log viewer.</div><div>I would like to see them as two separate parts, such that the log access library can be used by other people.</div>
<div> </div><div>For the log viewer, I think it would be a good to re-use the ChatWidget for displaying the main parts of the chats. </div><div>It&#39;s designed as a lib which can be used for such activity, though I&#39;m sure it&#39;ll need some tweaks to your needs.  It&#39;ll save you writing quite a large amount of code.</div>
<div>I&#39;m the lead of the chat component (d_ed on #kde-telepathy) if you need some changes to the API (or some parts are poorly documented, pester me). </div><div><br></div><div>I&#39;d also like to use the log interface to try and populate the chat window with a few messages from your last chat. I want some sort of mechanism for &quot;give me the last n messages with this contact. This will be very similar code to how I&#39;m picturing the log viewer working with the chat widget, so we should work closely on that.</div>
<div><br></div><div>It would be really cool to see some rough sketches of a log viewer before you got too involved code writing and talk them through as a group. I really quite like empathy&#39;s use of the calendar widget to list/filter the various conversations, though there&#39;s plenty of improvements we can do over their design.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
As soon as I&#39;ve something usable, I will share it :) Since this is my first<br>
collaboration with kde-telepathy, I&#39;d like to know where I should post my<br>
code: my github, or another sort of private/experimental repo?<br>
<br></blockquote><div><br></div><div>Please use KDE&#39;s git tree. See Daniele email. </div><div><br></div><div>Most importantly, welcome! </div><div>Thanks for choosing to get involved, feel free to ask anything on the mailing list and on IRC. We&#39;re a friendly bunch (honest)</div>
<div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
--SKS<br>
_______________________________________________<br>
KDE-Telepathy mailing list<br>
<a href="mailto:KDE-Telepathy@kde.org">KDE-Telepathy@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kde-telepathy" target="_blank">https://mail.kde.org/mailman/listinfo/kde-telepathy</a><br>
</blockquote></div><br>