| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Reviewed-by: Guillaume Desmottes
(cherry picked from commit a4103cf87192a7e57d1b762438f53cef3c3e61fa)
|
| |
|
|
|
|
|
|
|
|
| |
The code example in log-walker.c was wrong as get_valid_accounts() is
(transfer container). dup_valid_accounts() is (transfer full) so it's correct
now.
https://bugs.freedesktop.org/show_bug.cgi?id=69797
|
|
|
|
| |
https://bugs.freedesktop.org/show_bug.cgi?id=69797
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Given that _tpl_log_store_get_name exists, there's really no reason to
have a property as well.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Again, it's meaningless to have this be a writeable construct-only
property—a store is either readable or it's not.
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Fixes: https://bugs.freedesktop.org/41772
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Causes an offset of 4 bytes on 32-bit systems.
|
| |
|
|
|
|
|
|
| |
Implement a generic constructor along with making public all TplEntity
constructors. This is required now that the LogManager API require
TplEntity object instead of id/is_room pair.
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
This renames the subclass in a more natural and more traditional way as
found in many other GObject based APIs.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Enforces using g_object_new() instead of the partial _new() method with
loads of get/set. This imply removing all the get/set methods that are not
strictly required, making the properties construct only and porting the
rest of the code. This change also make "make check" work again. Some more
cleanup is also included.
|
|
|
|
|
|
| |
Rename and move is_chatroom from TplEventText to TplEvent and implement it
by looking at the receiver type. Note that this breaks make check
because none of the current log-store sets the receiver.
|
|
|
|
| |
Importing only the needed modules from tests/lib/
|
|
|