| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
| |
This will give us a place to cache the GRegex object. (Of course, this
also depends on monitoring changes to the TpChat's self contact's alias,
and changes to the TpChat's self contact!)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The current highlighting code finds the first occurrence of the
nickname, then checks whether the characters before or after are a
space, a comma, a colon or a full stop (or the start or end of the
string). This means that someone saying “no! That's wjt’s coffee!”
didn’t highlight me, because the apostrophe isn't in the whitelist. It
also means that saying “borrow some Sudafed from daf” would not
highlight daf, since the first match is in the middle of a word.
We’re trying to check whether the nickname occurs as a complete word
within the message. The regex metacharacter \b matches word boundaries,
so /\b<nickname>\b/ is what we actually want. It gets the above cases
right, including Unicode punctuation.
https://bugzilla.gnome.org/show_bug.cgi?id=591667
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- EmpathyChannelFactory has been changed to EmpathyClientFactory and inherit
from TpAutomaticClientFactory.
- We now always use the _with_am variant of TpSimple* constructors
- We define our own factory as default.
- Replace empathy_get_account_for_connection() by tp_connection_get_account()
- The factory is passed to EmpathyTpChat and TpyCallChannel
- Use tp_simple_client_factory_ensure_account() instead of
tp_account_manager_ensure_account().
- Rely on the factory to prepare connection features.
This should ensure that all the TpProxy and TpContact objects created in
Empathy are shared and use EmpathyClientFactory.
https://bugzilla.gnome.org/show_bug.cgi?id=655799
|
|
|
|
|
|
| |
The backlog flag should be TRUE or FALSE, so the check for the flag
should result in either of those two values, not some other non-false
value
|
|
|
|
| |
Much more useful when receiving offline messages.
|
|\ |
|
| |
| |
| |
| |
| | |
This makes it backwards to what we get in Telepathy, but we can manage by
translating it into the Telepathy form.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
It would be nice to remove EmpathyMessage, because now that TpMessages are a
GObject, EmpathyMessage is just an empty abstraction layer that we have to
keep punching through.
|
| |
| |
| |
| |
| | |
This allows us to pass the 'message-token' from the TpMessage through to the
chat-view.
|
|/
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=652345
|
|
|
|
|
| |
Having it is required for displaying call events in the
history window though.
|
| |
|
|
|
|
|
|
| |
Conflicts:
libempathy/empathy-message.c
|
|
|
|
|
|
| |
We're storing the TpSignalledMessage for that nowadays.
Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
|
|
|
|
| |
Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
|
| |
|
|
|
|
|
|
|
|
|
| |
tp_message_get_received_timestamp() and tpl_event_get_timestamp() both return
gint64 while the timestamp is stored as a glong. We need to cast it as varargs
won't do it for us and not casting will result in a a sizing mismatch on
32-bit.
Ideally we should stop using time_t and always use gint64 with timestamps.
|
|
|
|
| |
created
|
|
|
|
| |
Also fix the GParamFlags of properties.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Added missing default cases and missing enum cases.
|
|
|
|
| |
The "name" API was a relic of Gossip.
|
|
|
|
| |
If the message is build from a TplEntry it *is* a backlog one.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
There is no reason to only use this new heuristic only in the TPL case.
Furthermore, we're about to make TPL mandatory so it's good to have it more
tested.
|
|
|
|
| |
By default TPL is disabled, use --enable-tpl configure option to enable it.
|
| |
|
| |
|
|
|
|
| |
Also make commands not case sensitive and use g_ascii_isspace to detect spaces.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Sumana Harihareswara reported that she had started a conversation with
herself, sent a message, and then tried to close the window, but
whenever she did so it reappeared.
This was because Empathy did not acknowledge "incoming" messages from
the user themself; hence, when it Close()d the channel, Gabble respawned
it, because it still had pending messages.
|
|
|
|
|
|
|
|
|
| |
This fixes a bug where the message (Type_Action, "/me wooo yay") is
printed as " ! wjt woo yay" rather than as " ! wjt /me woo yay".
This also fixes Gnome bug #593101 (Empathy exits sending empty /me
message), which was caused by this deleted code walking off the end of
the string "/me".
|
|
|
|
|
|
| |
This will be the sole place that user input is parsed for special
commands like /me; the parsing logic will be removed from EmpathyMessage
and chat_send().
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
From: Xavier Claessens <xclaesse@gmail.com>
svn path=/trunk/; revision=2622
|
|
|
|
|
|
| |
From: Xavier Claessens <xclaesse@gmail.com>
svn path=/trunk/; revision=2621
|
|
|
|
|
|
| |
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
svn path=/trunk/; revision=2610
|
|
|
|
|
|
| |
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
svn path=/trunk/; revision=2604
|
|
|
|
|
|
| |
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
svn path=/trunk/; revision=2598
|
|
|
|
|
|
| |
Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
svn path=/trunk/; revision=2174
|
|
|
|
|
|
| |
Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
svn path=/trunk/; revision=2127
|
|
|
|
| |
svn path=/trunk/; revision=1989
|
|
|
|
| |
svn path=/trunk/; revision=1928
|
|
|
|
|
|
| |
G_TYPE_INSTANCE_GET_PRIVATE all the time.
svn path=/trunk/; revision=1082
|
|
|
|
|
|
| |
(Frederic Peters).
svn path=/trunk/; revision=881
|
|
|
|
| |
svn path=/trunk/; revision=840
|
|
|
|
| |
svn path=/trunk/; revision=688
|
|
|
|
|
|
| |
Claessens).
svn path=/trunk/; revision=494
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-10-13 Xavier Claessens <xclaesse@gmail.com>
* libempathy-gtk/empathy-chat-view.h:
* libempathy-gtk/empathy-main-window.c:
* libempathy-gtk/empathy-chat.c:
* libempathy-gtk/empathy-chat-window.c:
* libempathy-gtk/empathy-chat-view.c:
* libempathy/empathy-log-manager.c:
* libempathy/empathy-time.c:
* libempathy/empathy-tp-chat.c:
* libempathy/empathy-time.h:
* libempathy/empathy-message.c:
* libempathy/empathy-message.h:
* libempathy/empathy-presence.c:
* configure.ac: Don't use deprecated GtkTooltips API. Add commented out
lines in configure.ac to disable GLib and GTK deprecated symbols.
Replace EmpathyTime by time_t which is more appropriate for timestamps.
* doc/*: Updated.
svn path=/trunk/; revision=371
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-08-07 Marco Barisione <marco@barisione.org>
* libempathy/Makefile.am:
* libempathy/empathy-marshal-main.c: Remove empathy-marshal-main.c and
include empathy-marshal.h from empathy-marshal.c.
* libempathy/Makefile.am:
* libempathy-gtk/Makefile.am: Generate files for enum types with
glib-mkenums.
* libempathy/empathy-contact.c:
* libempathy/empathy-idle.c:
* libempathy/empathy-message.c:
* libempathy/empathy-presence.c:
* libempathy-gtk/empathy-main-window.c:
* libempathy-gtk/empathy-preferences.c:
* doc/libempathy-gtk/libempathy-gtk.types:
* doc/libempathy-gtk/tmpl/empathy-contact-list-store.sgml: Use
g_param_spec_enum() and g_param_spec_flags() instead of
g_param_spec_(u)int.
Fixes bug #462465.
* libempathy-gtk/empathy-contact-list-store.c:
* libempathy-gtk/empathy-contact-list-store.h: Remove
empathy_contact_list_store_sort_get_type() as it's now auto-generated
by glib-mkenums.
svn path=/trunk/; revision=234
|
|
|
|
|
|
|
|
|
|
| |
2007-07-29 Xavier Claessens <xclaesse@gmail.com>
* libempathy-gtk/empathy-profile-chooser.c:
* libempathy/empathy-message.c: Add missing include string.h.
svn path=/trunk/; revision=217
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2007-07-27 Xavier Claessens <xclaesse@gmail.com>
* libempathy/empathy-message.c:
* libempathy/empathy-message.h:
* libempathy/empathy-log-manager.c: Add message type in log files.
Fixes bug #459579.
* doc/*: Updated.
svn path=/trunk/; revision=205
|
|
2007-06-22 Xavier Claessens <xclaesse@gmail.com>
* libempathy/*.[ch]:
* libempathy-gtk/*.[ch]:
* src/*.[ch]: Rename all filenames starting with "gossip" by "empathy",
change namespace of all gossip_*() functions to empathy_*().
Fixes bug #444490 (Mario Danic, Xavier Claessens).
svn path=/trunk/; revision=170
|