summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* automake: use serial-testsGuillaume Desmottes2013-09-231-1/+1
| | | | | | | | | It's easier to use the old tests behavior for now. Bump the automake dep to 1.12 as that's the version which introduced this new option. https://bugs.freedesktop.org/show_bug.cgi?id=69715
* Merge branch 'telepathy-logger-0.8'Will Thompson2013-05-012-1/+2
|\
| * log_store_xml_get_events_for_file: fix self_id leakGuillaume Desmottes2013-05-011-0/+1
| | | | | | | | https://bugs.freedesktop.org/show_bug.cgi?id=54814
| * Post release verison bumpNicolas Dufresne2013-04-041-1/+1
| |
* | ignorelist: Fix annotation and documentationNicolas Dufresne2013-04-081-2/+1
| |
* | Coding style fixNicolas Dufresne2013-04-082-4/+5
| |
* | Make log-manager tests writableDan Vrátil2013-04-084-23/+58
| |
* | Add ignore list capabilityDan Vrátil2013-04-046-6/+410
| | | | | | | | | | | | This allow disabling logging for a specific contact. Fix bug https://bugs.freedesktop.org/show_bug.cgi?id=54033
* | Post stable release version bumpNicolas Dufresne2013-04-041-1/+1
|/
* version 0.8.0telepathy-logger-0.8.0Debarshi Ray2013-01-213-14/+24
|
* doc: Mark TplLogStoreEmpathyClass fields as private to avoid warningsDebarshi Ray2013-01-211-0/+1
|
* doc: Use xi:fallback when including the annotation glossaryDebarshi Ray2013-01-211-1/+1
|
* log-walker: Add since tags to docstringsDebarshi Ray2013-01-211-0/+16
|
* Split legacy Empathy log reader into its own classWill Thompson2013-01-165-28/+125
| | | | | | | | | | | | My commit eaefb26 introduced a regression: by assuming that any class that implements add_event is writable, logs were being written to the legacy Empathy location. By splitting the legacy location handling into a subclass, we can override add_event to un-implement it and make the subclass read-only, as well as removing special cases from the XML store itself. Thanks to Debarshi Ray for catching this!
* log-store-xml: use _tpl_log_store_get_name()Will Thompson2013-01-161-3/+2
| | | | | By consistently using the wrapper function rather than calling our implementation directly, subclassing won't break.
* log-store-xml: simplify choosing basedirWill Thompson2013-01-161-3/+2
| | | | | | | log_store_xml_get_name() makes the same Empathy vs. TpLogger decision as the test_mode path was making. Since the log store's name is used to find the real directory, it also seems better to use the same code path in the test suite.
* log-walker: Use a queue instead of a mutex for serializing operationsDebarshi Ray2013-01-101-37/+70
| | | | | | | | | | | | Earlier we were using threads to implement the asynchronous get_events and rewind methods, so we used a mutex to serialize them. However, now get_events has been moved to a single threaded model, so using a mutex will lead to undefined behaviour. Instead we use a queue to store incoming operations (ie. get_events or rewind) and they are executed one after the other. Fixes: https://bugs.freedesktop.org/54270
* log-walker: Use the op_res for carrying async contextNicolas Dufresne2013-01-101-26/+36
| | | | | | As a result we don't need the wrapper callback for fill_cache. Fixes: https://bugs.freedesktop.org/54270
* log-walker: Use _take_error instead of _set_from_error / _error_freeNicolas Dufresne2013-01-091-8/+2
| | | | Fixes: https://bugs.freedesktop.org/54270
* log-walker: Use complete_in_idle() instead of idle_add()Nicolas Dufresne2013-01-091-22/+6
| | | | Fixes: https://bugs.freedesktop.org/54270
* tests: Add a test for log-walker/rewindDebarshi Ray2013-01-091-0/+35
| | | | | | ... to cover the use of a filter. Fixes: https://bugs.freedesktop.org/54270
* tests: Add a test for log-walker/get-eventsDebarshi Ray2013-01-091-0/+41
| | | | | | ... to cover the use of a filter. Fixes: https://bugs.freedesktop.org/54270
* log-walker: Streamline the history codeDebarshi Ray2013-01-091-16/+11
| | | | Purely cosmetic. No changes in functionality.
* log-walker: Run the filter synchronously in the walkerDebarshi Ray2013-01-0913-148/+133
| | | | | | | | | | This ensures that the TplLogEventFilter is always run from the same thread which invoked the walker. This is implemented by keeping track of skipped events in the history instead of silently ignoring them within the LogIters. This has the nice side effect that we do not need to run the filter while rewinding. Fixes: https://bugs.freedesktop.org/54270
* log-walker: Rework get_eventsDebarshi Ray2013-01-091-71/+174
| | | | | | | | | | | | | ... so that only the caches are filled asynchronously and the rest of the work does not involve the use of a separate thread. This is the first step towards ensuring that we do not run the TplLogEventFilter from a separate thread. NB: This does not solve the actual problem. The TplLogEventFilter is still invoked from a separate thread. However this refactoring lets us move in that direction. Fixes: https://bugs.freedesktop.org/54270
* Include config.h as the first thing in every .c fileDebarshi Ray2013-01-0913-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
* Bump minimum GLib version to 2.28Debarshi Ray2013-01-091-1/+1
| | | | We are using g_clear_object.
* Merge remote-tracking branch 'origin/telepathy-logger-0.6'Xavier Claessens2012-12-294-16/+32
|\
| * start on version 0.6.1telepathy-logger-0.6Jonny Lamb2012-10-302-1/+6
| | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
| * version 0.6.0telepathy-logger-0.6.0Jonny Lamb2012-10-302-7/+7
| | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
| * Add missing file in gitignoreNicolas Dufresne2012-10-301-0/+1
| |
| * tools: Remove telepathy-glib-env from version controlDebarshi Ray2012-10-301-9/+0
| | | | | | | | It is generated during the build.
| * tools: expect a tar.bz2 not a tar.gzJonny Lamb2012-10-302-10/+10
| | | | | | | | | | | | This is an ugly patch but it'll do for now. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
| * log-store-xml: Filter out duplicate dates in get_datesNicolas Dufresne2012-10-301-0/+13
| | | | | | | | Fixes: https://bugs.freedesktop.org/53345
| * Fix distcheck, missing file in clean listNicolas Dufresne2012-10-291-0/+1
| |
| * NEWS: summary for 0.6.0Jonny Lamb2012-10-291-2/+13
| | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* | Merge branch 'cleanup'Will Thompson2012-09-2710-257/+50
|\ \ | | | | | | | | | https://bugs.freedesktop.org/show_bug.cgi?id=55338
| * | Ignore cscope.out fileWill Thompson2012-09-251-0/+1
| | |
| * | TplLogStore: remove :name property entirely.Will Thompson2012-09-254-43/+0
| | | | | | | | | | | | | | | Given that _tpl_log_store_get_name exists, there's really no reason to have a property as well.
| * | Make TplLogStore:name immutable.Will Thompson2012-09-258-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.
| * | LogManager: rearrange creating log stores a little.Will Thompson2012-09-251-26/+25
| | |
| * | LogManager: simplify checking for duplicate storesWill Thompson2012-09-251-9/+3
| | |
| * | TplLogStore: make :readable property immutableWill Thompson2012-09-256-45/+11
| | | | | | | | | | | | | | | Again, it's meaningless to have this be a writeable construct-only property—a store is either readable or it's not.
| * | TplLogStore: remove writable property.Will Thompson2012-09-256-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.
| * | TplLogStore: attach doc comments to the right propertiesWill Thompson2012-09-251-11/+11
| | | | | | | | | | | | :readable and :writable had their doc comments swapped.
| * | Correct some typos in docstringsWill Thompson2012-09-251-4/+4
|/ /
* | log-walker: Don't leak the GList nodeDebarshi Ray2012-08-301-1/+1
| |
* | log-walker: Add an example explaining how to use the APIDebarshi Ray2012-08-291-0/+135
| | | | | | | | Fixes: https://bugs.freedesktop.org/41772
* | Fix distcheck, missing file in clean listNicolas Dufresne2012-08-291-0/+1
| |
* | Rename is_begin into is_startNicolas Dufresne2012-08-292-10/+10
| |