[Telepathy] Telepathy Logger being redesigned

Xavier Claessens xclaesse at gmail.com
Wed Jan 12 01:02:05 PST 2011


Something I would like to see is a cleaner split between the daemon
code, and the library code that provide the client API. Looking at the
source tree, I see the daemon is one trivial file in src/ and all the
code is in telepathy-logger/. Surely some files could be moved to src/
because they are not useful for the client API? Ignore me if I'm
wrong :)

Thanks for that that rework anyway, it was indeed needed :D

Xavier Claessens.

Le mardi 11 janvier 2011 à 18:08 -0500, Nicolas Dufresne a écrit :
> Hi all,
> some people might already have notice that Telepathy Logger is getting
> some non-backward compatible changes recently. First, don't worry, we
> created a 0.1 branch that can be use to keep bug fixing while doing
> this work. The first goal is to allow logging more information then
> text messages (like calls, file transfers, etc). To achieve this, we
> need an API that abstract the type of events we store and that also
> abstract the type of log stored.
> We plan in doing multiple rework of the API in the next few days to
> make it more consistent, easier to use and well adapted for the
> upcoming features. One of the main thing currently happening is to use
> a generalized name for things we log. So far we had messages, entries
> and events which where all synonyme. Event has been chosen, thus all
> the API has been reworked by Emilio to replace references from message
> to event, and replace things like chat_id to simply become chat, which
> leads to a new API that has minimal abstraction of the message type.
> Next step will be to rename TplEntry into TplEvent, so getting events
> will actually return TplEvent, and not TplEntry. More work will be
> required to clarify some of the getters and search functions. Current
> we have function like _get_events() that actually return list of
> SearchHit, which are actually just buddies (contacts or entities) not
> real search hit. More function will be targeted for renaming and
> return type correction. One of the goal, if possible, is to simply
> remove SearchHit from TPL types, or make it specific to content
> search.
> The upcoming features we have in mind are support for logging Calls,
> Support for deleting logs (all of them, a group or a specific one),
> rework the SQLite log store to make it good enough to replace the
> current XML file backend.
> cheer,
> Nicolas (alias stormer) 
> _______________________________________________
> telepathy mailing list
> telepathy at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/telepathy

More information about the telepathy mailing list