| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
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!
|
|
|
|
| |
the current default LogStore (to be renamed) will manage both legacy and the newer XML version
|
| |
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
TplLogEntry P.M.ID cannot be unsigned since it needs a way to recognized ACK'd
messages and other special values
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Remove is_{readable,writable} from iface use properties instead
|
|
|
|
| |
Plus some typos in comments
|
|
|
|
|
|
| |
Now it's not a G_PROP_CONSTRUCT property anymore and tpl_log_entry_text_new
does now need chat_id anymore.
This way the default value for chat-id is NULL, unless differently set.
|
|
|
|
|
|
| |
In other words: avoid that 1-1 conversation generated from a chatroom, having id similar
to room@conference.domain/My_Alias (in XMPP) are threated as a directory
path, creating My_Alias as a subdirectory of room@conference.domain
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
That way a client needing to obtain a TpAccount, can acquire it from its object-path.
account-path is a PROP_CONSTRUCT_ONLY property, thus the _new method has been updated as well.
Setting the avatar_token for queried log entries.
Also, cleaned up some code and TP style fixes.
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
* now it only fails the dbus-binding-tool generated code
|
|
|
|
|
|
| |
* created doc/ infrastructure
* added several doc comments
* fixed some tests
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
|
|
|
| |
* 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]
|
|\
| |
| |
| |
| |
| | |
Conflicts:
telepathy-logger/log-manager-priv.h
telepathy-logger/log-manager.c
|
| | |
|
| | |
|
|/ |
|
|
|
|
| |
* removed all leading \n in g_print family func calls
|
|
|
|
|
|
| |
* 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
|
|
* 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
|