summaryrefslogtreecommitdiff
path: root/telepathy-logger/log-store.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* TplLogStore: remove :name property entirely.Will Thompson2012-09-251-7/+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-251-1/+1
| | | | | | 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.
* TplLogStore: make :readable property immutableWill Thompson2012-09-251-4/+4
| | | | | 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-25/+4
| | | | | | 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
|
* Documentation fixNicolas Dufresne2012-08-281-1/+1
|
* log-store: Add a create_iter pure virtual methodDebarshi Ray2012-08-281-0/+17
| | | | Fixes: https://bugs.freedesktop.org/41772
* log-store: Add G_TYPE_OBJECT as a prerequisite of TPL_TYPE_LOG_STOREDebarshi Ray2012-08-281-0/+1
| | | | Without it you can't have properties of type TPL_TYPE_LOG_STORE.
* Removed broken editor instructionNicolas Dufresne2011-03-251-1/+0
|
* Doc fixNicolas Dufresne2011-02-231-1/+1
|
* Introduce TplEventTypeMask to be able to select event typeNicolas Dufresne2011-02-221-12/+22
|
* Move away from id/type pair in favor of TplEntityNicolas Dufresne2011-02-221-20/+13
| | | | | | | | | 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-31/+0
|\ | | | | | | | | | | | | Conflicts: telepathy-logger/log-manager-internal.h Reviewed-by: emilio.pozuelo@collabora.co.uk
| * Strip off unused search_in_identifierNicolas Dufresne2011-02-081-31/+0
| |
* | Implement clear_entity in log store base classNicolas Dufresne2011-02-101-0/+13
| |
* | Implement clear_account method in LogStore base classNicolas Dufresne2011-02-101-0/+11
| |
* | Add clear method to TplLogStore base classNicolas Dufresne2011-02-101-0/+11
|/
* Renamed TplEventText into TplTextEventNicolas Dufresne2011-02-081-4/+4
| | | | | This renames the subclass in a more natural and more traditional way as found in many other GObject based APIs.
* Renamed get_events() into get_entities()Nicolas Dufresne2011-01-191-8/+8
| | | | | | 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.
* Renamed TplEntry* into TplEvent*Nicolas Dufresne2011-01-101-5/+5
|
* Adapt the log store interface to the API changesEmilio Pozuelo Monfort2011-01-101-72/+71
|
* log-store: sync header with EmpathyGuillaume Desmottes2010-06-181-11/+10
| | | | | empathy-log-store has been relicensed to LGPL: http://git.gnome.org/browse/empathy/commit/?id=b0eb7b2baf39cd5a509668bc53e5e34d70cb255d
* rename TplLogEntryText to TplEntryText and TplLogEntry to TplEntryGuillaume Desmottes2010-06-071-5/+5
|
* log-store: prefix internal API with underscoreGuillaume Desmottes2010-06-041-23/+23
|
* pass const GDate where it makes senseGuillaume Desmottes2010-06-041-1/+1
|
* Use GDate instead of string to represent dates in APIGuillaume Desmottes2010-06-021-5/+5
|
* rename all non public headers to -internal.hGuillaume Desmottes2010-05-271-1/+1
|
* Rename debug.h to debug-internal.h and underscore-prefix its functionsSimon McVittie2010-04-231-1/+1
|
* TplLogStore and TplLogStoreXML: fix type for identifier in ↵Cosimo Alfarano2010-04-051-1/+1
| | | | | | _search_in_identifier_chats_new From "gchar const *" to "const gchar *"
* Prefix an underscore to symbols in log-manager-priv.hSimon McVittie2010-03-231-1/+1
| | | | When we start doing ABI properly, this will mean that they're not exported.
* Renamed Counter LogStore to Sqlite, adding also a Caching functionality, whichCosimo Alfarano2010-03-121-11/+27
| | | | | | | | keeps count of incoming messages and allows duplicate checking LogStore Error codes has been updates to reflect some Index needings Fixed a typo in log-store.c tpl_log_store_is_readable
* log-store: add common properties to the LogStore GInterfaceDanielle Madeley2010-03-051-28/+61
| | | | Remove is_{readable,writable} from iface use properties instead
* TP Style fixes and gtk-doc src documentation improvedCosimo Alfarano2010-02-221-6/+99
|
* rename LogStore iface method from last_messages to recent_messagesCosimo Alfarano2010-02-221-3/+3
|
* Added Empathy legacy LogStore support into LogManager.Cosimo Alfarano2010-02-221-14/+22
| | | | | | | Added is_readable/is_writable method to LogStore interface. Also removed ack_message from LogStore since no destructive calls should be made from an Observer cotext. The method was an Empathy's reminiscence.
* Fixing LogStore->add_message method using TplLogEntry instead of gpointerCosimo Alfarano2010-02-161-1/+1
|
* TP style fixesCosimo Alfarano2010-02-151-1/+2
|
* include config.hCosimo Alfarano2010-02-151-0/+4
| | | | Also alphabetic ordering for TPL_DEBUG_XXX constant and GDebugKey array
* Fixed check-coding-styleCosimo Alfarano2010-02-101-14/+14
| | | | * now it only fails the dbus-binding-tool generated code
* created gtk-doc infrastructureCosimo Alfarano2010-02-101-1/+34
| | | | | | * created doc/ infrastructure * added several doc comments * fixed some tests
* Add support for multi logstoreCosimo Alfarano2010-02-041-63/+66
|
* Started the TplLogEntry refactoringCosimo Alfarano2010-01-221-1/+1
|
* GConf enabledCosimo Alfarano2010-01-141-4/+1
| | | | | | * gconf enabled using TplConf. Schema defined in telepathy-logger.schemas file * fixes for the Async API * add_message and add_message_async modified: chat_id, is_chatroom not needed anymore, while using TplLogEntry
* Async API infrastructureCosimo Alfarano2010-01-131-0/+197
* moved code from libtelepathy-logger/ to telepathy-logger/ * used /usr/bin/indent filter with GNU style for source formatting * added log-manager's async APIs infrastructure using GIO * addes some async method using the async infrastructure * added gconf infrastructure in the telepathy-logger/conf module