summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-01-09Include config.h as the first thing in every .c fileHEADmasterDebarshi Ray13-0/+29
This is Autoconf best-practice, and ensures that the GLib and Telepathy version-selection macros defined by configure.ac work as intended. Including config.h turns on ENABLE_DEBUG, which in turn leads to the usage of _tpl_debug_set_flags_from_env. In those cases we should include telepathy-logger/debug-internal.h also. Fixes: https://bugs.freedesktop.org/59165
2013-01-09Bump minimum GLib version to 2.28Debarshi Ray1-1/+1
We are using g_clear_object.
2012-12-29Merge remote-tracking branch 'origin/telepathy-logger-0.6'Xavier Claessens4-16/+32
2012-10-30start on version 0.6.1Jonny Lamb2-1/+6
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2012-10-30version 0.6.0telepathy-logger-0.6.0Jonny Lamb2-7/+7
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2012-10-30Add missing file in gitignoreNicolas Dufresne1-0/+1
2012-10-30tools: Remove telepathy-glib-env from version controlDebarshi Ray1-9/+0
It is generated during the build.
2012-10-30tools: expect a tar.bz2 not a tar.gzJonny Lamb2-10/+10
This is an ugly patch but it'll do for now. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2012-10-30log-store-xml: Filter out duplicate dates in get_datesNicolas Dufresne1-0/+13
Fixes: https://bugs.freedesktop.org/53345
2012-10-29Fix distcheck, missing file in clean listNicolas Dufresne1-0/+1
2012-10-29NEWS: summary for 0.6.0Jonny Lamb1-2/+13
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2012-09-27Merge branch 'cleanup'Will Thompson10-257/+50
https://bugs.freedesktop.org/show_bug.cgi?id=55338
2012-09-25Ignore cscope.out fileWill Thompson1-0/+1
2012-09-25TplLogStore: remove :name property entirely.Will Thompson4-43/+0
Given that _tpl_log_store_get_name exists, there's really no reason to have a property as well.
2012-09-25Make TplLogStore:name immutable.Will Thompson8-59/+14
For all log stores except the Xml one, this is always set to the same thing. For the Xml one, the name of the store depends entirely on the value of empathy-legacy.
2012-09-25LogManager: rearrange creating log stores a little.Will Thompson1-26/+25
2012-09-25LogManager: simplify checking for duplicate storesWill Thompson1-9/+3
2012-09-25TplLogStore: make :readable property immutableWill Thompson6-45/+11
Again, it's meaningless to have this be a writeable construct-only property—a store is either readable or it's not.
2012-09-25TplLogStore: remove writable property.Will Thompson6-90/+11
This property was defined by the interface to be readwrite, but this doesn't make any sense: if the object implements the add_event method, then it is writable, and if not, it doesn't.
2012-09-25TplLogStore: attach doc comments to the right propertiesWill Thompson1-11/+11
:readable and :writable had their doc comments swapped.
2012-09-25Correct some typos in docstringsWill Thompson1-4/+4
2012-08-30log-walker: Don't leak the GList nodeDebarshi Ray1-1/+1
2012-08-29log-walker: Add an example explaining how to use the APIDebarshi Ray1-0/+135
Fixes: https://bugs.freedesktop.org/41772
2012-08-29Fix distcheck, missing file in clean listNicolas Dufresne1-0/+1
2012-08-29Rename is_begin into is_startNicolas Dufresne2-10/+10
2012-08-28Fix doc warning: missing field in TplLogWalkerClassNicolas Dufresne1-0/+1
2012-08-28Documentation fixNicolas Dufresne7-12/+22
2012-08-28Add missing file in gitignoreNicolas Dufresne1-0/+1
2012-08-28Add missing valgrind suppressionNicolas Dufresne1-0/+7
2012-08-28doc: Add log-*-internal.h to IGNORE_HFILES and link to log-walker.xmlDebarshi Ray2-0/+5
Fixes: https://bugs.freedesktop.org/41772
2012-08-28tools: Remove telepathy-glib-env from version controlDebarshi Ray1-9/+0
It is generated during the build.
2012-08-28tests: Add a test for log-walker/rewindDebarshi Ray1-0/+90
... to cover events coming from multiple stores spanning several days where multiple events might have the same timestamp. Fixes: https://bugs.freedesktop.org/41772
2012-08-28tests: Add a test for log-walker/get-eventsDebarshi Ray2-0/+294
... to cover events coming from multiple stores spanning several days where multiple events might have the same timestamp. Fixes: https://bugs.freedesktop.org/41772
2012-08-28tests: Add new TpLogger and purple logs to flex the TplLogWalkerDebarshi Ray7-2/+70
The actual test case will be added later. Existing test cases have been adjusted accordingly. Fixes: https://bugs.freedesktop.org/41772
2012-08-28tests: Add a test for log-iter-pidgin/rewindDebarshi Ray1-0/+270
... to cover text events spanning multiple days. Fixes: https://bugs.freedesktop.org/41772
2012-08-28tests: Add a test for log-iter-pidgin/get-eventsDebarshi Ray2-0/+577
... to cover text events spanning multiple days. Fixes: https://bugs.freedesktop.org/41772
2012-08-28tests: Add a test for log-iter-xml/rewindDebarshi Ray1-0/+195
... to cover text events spanning multiple days, and a mix of call and text events. Fixes: https://bugs.freedesktop.org/41772
2012-08-28tests: Add a test for log-iter-xml/get-eventsDebarshi Ray2-0/+234
... to cover text events spanning multiple days, and a mix of call and text events. Fixes: https://bugs.freedesktop.org/41772
2012-08-28log-store-xml: Filter out duplicate dates in get_datesNicolas Dufresne1-0/+13
Fixes: https://bugs.freedesktop.org/53345
2012-08-28log-walker: Implement rewindDebarshi Ray1-0/+57
Fixes: https://bugs.freedesktop.org/41772
2012-08-28log-walker: Add rewind skeletonDebarshi Ray2-0/+107
Fixes: https://bugs.freedesktop.org/41772
2012-08-28log-walker: Keep a list of (iter, count) tuplesDebarshi Ray1-0/+45
This represents the order in which events were handed over to the user from each iterator. Lets say we have 10 events numbered from 0 to 9, with 0 being the oldest and 9 the latest event, and we have 3 iterators Ia, Ib and Ic. If they were returned in batches of 5 as: +-----+--------+ |event|iterator| +-----+--------+ | 5 | Ia | | 6 | Ib | | 7 | Ia | | 8 | Ia | | 9 | Ic | + - - + - -- - + | 0 | Ic | | 1 | Ic | | 2 | Ib | | 3 | Ib | | 4 | Ia | +-----+--------+ Then the list would be: (Ic, 2), (Ib, 2), (Ia, 2), (Ib, 1), (Ia, 2), (Ic, 1) Fixes: https://bugs.freedesktop.org/41772
2012-08-28log-iter-pidgin: Implement rewindDebarshi Ray1-0/+70
Fixes: https://bugs.freedesktop.org/41772
2012-08-28log-iter-xml: Implement rewindDebarshi Ray1-0/+70
Fixes: https://bugs.freedesktop.org/41772
2012-08-28log-iter: Add a rewind pure virtual methodDebarshi Ray2-0/+23
Fixes: https://bugs.freedesktop.org/41772
2012-08-28log-walker: Treat the internal state as a critical sectionDebarshi Ray1-2/+32
Since the TplLogWalker API is asynchronous, we do not want multiple overlapping calls to stamp on each others' toes. Fixes: https://bugs.freedesktop.org/41772
2012-08-28log-walker: Add is_begin and is_end methods, and use them in get_eventsDebarshi Ray2-2/+56
Fixes: https://bugs.freedesktop.org/41772
2012-08-28log-iter-pidgin: Implement get_eventsDebarshi Ray1-0/+65
It a sign of completion if the number of events returned is less than num_events. NULL is returned when there are no more events left in the log. Fixes: https://bugs.freedesktop.org/41772
2012-08-28log-store-pidgin: Implement create_iterDebarshi Ray1-0/+19
Fixes: https://bugs.freedesktop.org/41772
2012-08-28Add TplLogIterPidgin skeletonDebarshi Ray3-0/+321
Fixes: https://bugs.freedesktop.org/41772