| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
...to avoid crashes when freeing them.
See https://bugzilla.gnome.org/show_bug.cgi?id=646435
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Extern functions should be namespaced.
|
| |
|
|
|
|
|
|
| |
This way it is passed a unique repr of the data.
With the str if any other format string was used, a different token would be
produced
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
pending_msg_id: the entry's pending msd_id or -1 if sent/ack'd
channel_path: the channel path relative to the channel originating the entry
log_id: changed type, from guint to (gchar *), to represent a literal token,
thus the constructor for TplLogEntry changed to follow the log_id type change.
Due to the type change, a small amend has been done on TplLogStoreEmapthy.
TplLogStoreDefault has been created since with the introduction of log_id as a
literal token, TplLogStoreEmpathy won't be compatible anymore with the current TPL default LS.
A utility function has been added to util.c, returning a message_token which
TPL clients can trust to be unique within TPL, this until Bug#26838 will be solved.
TplLogManager has been updated with the new TPL_LOG_STORE_DEFAULT instance.
TpLChannelText has been updated with the TplLogStoreText constructor update.
|
|
|
|
|
|
|
|
| |
Use the normal approach to unreferencing objects.
Use g_str_equal instead of tpl_strequal (which was useless and now removed).
Removed any inclusion of util.h from headers files, and properly including
util.h in .c files
|
|
|
|
| |
Also alphabetic ordering for TPL_DEBUG_XXX constant and GDebugKey array
|
|
|
|
|
|
| |
* moved action-chain related funcs to action-chain module
* remove action-chain related funcs from utils
* included action-chain.h where needed and added to Makefile.am
|
|
|
|
| |
* now it only fails the dbus-binding-tool generated code
|
|
|
|
|
|
|
|
| |
* it's a recommit or 5084ee671ed91648423651260c5d929597861cb3, which for some reason wasn't right.
* added _prepend method to ActionChain
* fixed a action insertion order in TplChannelText, so that TpContacts are
retrieved BEFORE the message pending retrieval
* improved TplChannelText debugging
|
|
|
|
|
|
|
| |
* add support for Pending Messages retrieval on Text channels
* misc TP re-styling
* add properties to TplContact
* add documentation for some methods
|
|
|
|
|
|
|
| |
* refactored TplChannelText as implementation of the abstract TplChannel
* added tpl_channel_text_call_when_ready method in order to prepare
tpl_channel, its internal objects, connect signals, etc
* added TplActionChain struct and related functions to util.[ch]
|
|
|