summaryrefslogtreecommitdiff
path: root/telepathy-logger/log-manager.c
Commit message (Collapse)AuthorAgeFilesLines
* include telepathy-glib-dbus.hGuillaume Desmottes2013-09-271-0/+1
| | | | Not needed for now but will be for 1.0
* Prepare TpAccount if neededGuillaume Desmottes2013-09-271-1/+59
| | | | | | | Make sure that the TpAccount we receive from public API is prepared as more and more API are relying on it. https://bugs.freedesktop.org/show_bug.cgi?id=69814
* log-manager: factor out start_async_op_in_thread()Guillaume Desmottes2013-09-271-10/+13
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=69814
* tpl_log_manager_search_async: fix introspectionGuillaume Desmottes2013-09-231-1/+1
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=69715
* Coding style fixNicolas Dufresne2013-04-081-3/+4
|
* Add ignore list capabilityDan Vrátil2013-04-041-1/+177
| | | | | | This allow disabling logging for a specific contact. Fix bug https://bugs.freedesktop.org/show_bug.cgi?id=54033
* Split legacy Empathy log reader into its own classWill Thompson2013-01-161-2/+2
| | | | | | | | | | | | 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-walker: Run the filter synchronously in the walkerDebarshi Ray2013-01-091-4/+2
| | | | | | | | | | 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
* Make TplLogStore:name immutable.Will Thompson2012-09-251-4/+0
| | | | | | 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-251-7/+5
| | | | | 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-251-17/+7
| | | | | | 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.
* Documentation fixNicolas Dufresne2012-08-281-5/+6
|
* log-manager: Implement walk_filtered_eventsDebarshi Ray2012-08-281-0/+49
| | | | Fixes: https://bugs.freedesktop.org/41772
* Disable single include of telepathy-glib headersXavier Claessens2012-07-031-2/+1
|
* log-manager: Fix annotations on get_filtered_eventsJasper St. Pierre2012-05-281-2/+3
| | | | | | | | | Both callbacks needs to be marked allow-none, and filter isn't an (async scope), it's an (async call). https://bugs.freedesktop.org/show_bug.cgi?id=50361 Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* Fix introspection warningsJasper St. Pierre2012-05-281-7/+7
| | | | | | https://bugs.freedesktop.org/show_bug.cgi?id=50361 Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* Improve GObject introspection anotationNicolas Dufresne2011-10-311-7/+15
|
* Merge branch 'fix-insert-after'Nicolas Dufresne2011-05-261-44/+9
|\
| * Optimise _tpl_log_manager_get_filtered_events()Nicolas Dufresne2011-05-261-44/+9
| | | | | | | | | | | | | | Use a GQueue and _tpl_event_queue_insert_sorted_after() instead of insert_sorted() which lookup the list everytime. This also has the effect of keeping log order as much as possible when broken timestamp goes backward.
* | Fix destroy function for get_entities_asyncEmilio Pozuelo Monfort2011-05-261-1/+1
|/ | | | https://bugs.freedesktop.org/show_bug.cgi?id=37288
* Removed broken editor instructionNicolas Dufresne2011-03-251-1/+0
|
* Print something on error even if error is not setNicolas Dufresne2011-03-211-2/+3
|
* Don't crash if a log store assertNicolas Dufresne2011-03-161-1/+1
|
* Remove reference to log_id in log managerNicolas Dufresne2011-03-151-2/+1
|
* Move _tpl_entity_compare into TplEntity classNicolas Dufresne2011-03-151-26/+1
|
* Move _time_parse() to util and remove datetimeNicolas Dufresne2011-03-031-1/+0
|
* log-manager: Add output annotations.Jasper St. Pierre2011-03-011-2/+3
|
* Start work on introspection support.Jasper St. Pierre2011-02-281-3/+3
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=34770
* Let glib allocate the GList element for usSjoerd Simons2011-02-241-1/+1
| | | | | | GList elements are usually allocated using the slice allocator, not pure malloc, but we can't rely on that. So instead of allocating the structure ourselves use the dedicated allocation function.
* Doc fixNicolas Dufresne2011-02-231-2/+3
|
* Introduce TplEventTypeMask to be able to select event typeNicolas Dufresne2011-02-221-11/+33
|
* Move away from id/type pair in favor of TplEntityNicolas Dufresne2011-02-221-67/+46
| | | | | | | | | In the first rework step, TplEventSearchType was introduced with wrong assomption. This item was merging entity type and event type together. To make thing simple, this patch replace the pair with a TplEntity object that contain all the required information about the Entity. This enable for more complete logs in the future and fix bugs where get_entities() won't return chatrooms.
* Merge branch 'remove-unused'Nicolas Dufresne2011-02-111-117/+0
|\ | | | | | | | | | | | | Conflicts: telepathy-logger/log-manager-internal.h Reviewed-by: emilio.pozuelo@collabora.co.uk
| * Strip off unused search_in_identifierNicolas Dufresne2011-02-081-117/+0
| |
* | Implement clear_entity in TplLogManagerNicolas Dufresne2011-02-101-0/+19
| |
* | Implement clear_account method in LogManagerNicolas Dufresne2011-02-101-0/+18
| |
* | Implement clear method in TplLogManagerNicolas Dufresne2011-02-101-0/+17
|/
* Load TplLogStorePidgin at TplLogManager startupCosimo Alfarano2011-01-211-0/+3
|
* set "testmode" property only on logstores supporting itCosimo Alfarano2011-01-201-0/+7
|
* Renamed get_events() into get_entities()Nicolas Dufresne2011-01-191-41/+41
| | | | | | The _get_events() method was misleading. This function would return partially filled TplLogSearchHit that would in fact represent entities. This patch renames the function and return a GList of TplEntity.
* Avoid copying lists when calling _finish()Nicolas Dufresne2011-01-191-59/+29
|
* Don't duplicate code to free listsNicolas Dufresne2011-01-191-55/+29
|
* [Doc] Don't document private func. & fix typosNicolas Dufresne2011-01-171-14/+14
|
* LogManager style fixes and functions orderNicolas Dufresne2011-01-171-99/+125
| | | | | Did some style fixes and reorderd _async and _finish function to be in a natural order.
* Remove TplLogSearchHit.filenameEmilio Pozuelo Monfort2011-01-171-6/+1
|
* Renamed TplEntry* into TplEvent*Nicolas Dufresne2011-01-101-19/+19
|
* Adapt the log manager to the API changesEmilio Pozuelo Monfort2011-01-101-353/+254
|
* Minor optimizationEmilio Pozuelo Monfort2011-01-051-1/+1
|