aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-chat.c
Commit message (Collapse)AuthorAgeFilesLines
* Install property active-group in EmpathyIndividualMenuChandni Verma2013-07-211-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=585440
* keyring: Drop legacy function after the libsecret migrationEmanuele Aina2013-04-041-8/+2
|
* Reorder header inclusions accordingly to the Telepathy coding styleEmanuele Aina2013-04-021-10/+10
| | | | | | | | | | | | Sort by: • "config.h" • API declarations, if any • public libraries • internal headers, alphabetically sorted (mostly) http://telepathy.freedesktop.org/wiki/Style#A.23includes https://bugzilla.gnome.org/show_bug.cgi?id=697076
* Use a flat namespace for internal includesEmanuele Aina2013-04-011-7/+7
| | | | | | | | Directly add the libempathy, libempathy-gtk and extensions directories to the include search path. This decouples header inclusions from their location and helps when reorganizing the source files layout. https://bugzilla.gnome.org/show_bug.cgi?id=696950
* Use double quotes for all internal headersEmanuele Aina2013-04-011-6/+6
| | | | | | | This makes a bit more obvious which headers come from public libraries and which ones come from uninstalled utility libraries. https://bugzilla.gnome.org/show_bug.cgi?id=696950
* Drop unused/redundant header inclusionsEmanuele Aina2013-03-281-9/+0
| | | | | | | With the help of the script posted at http://stackoverflow.com/a/7135530 and some manual fixes, drop the unused or redundant #include directives. https://bugzilla.gnome.org/show_bug.cgi?id=696718
* Consistently use `#include "config.h"` everywhereEmanuele Aina2013-03-281-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=696718
* empathy-chat: show pending messages only for the first set of logsDebarshi Ray2013-01-211-4/+5
| | | | Fixes: https://bugzilla.gnome.org/639877
* empathy-chat: load logs as the user scrolls up or resizes the dialogDebarshi Ray2013-01-211-45/+173
| | | | | | This requires the TplLogWalker API to iterate over the logs. Fixes: https://bugzilla.gnome.org/639877
* include telepathy-glib.hGuillaume Desmottes2012-09-171-2/+1
| | | | | tp-glib 1.0 will enforce to only include telepathy-glib.h so best doing it to reduce the delta with the future stable branch.
* use tp_channel_get_connection()Guillaume Desmottes2012-09-111-4/+4
| | | | tp_channel_get_connection() has been deprecated.
* use tp_account_manager_dup_valid_accounts()Guillaume Desmottes2012-09-111-2/+2
| | | | | | tp_account_manager_get_valid_accounts() has been deprecated. Fix an accounts list leak in empathy-sanity-cleaning.
* chat: use empathy_display_individual_info()Guillaume Desmottes2012-07-111-7/+6
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=679111
* Stop using EmpathyChatViewGuillaume Desmottes2012-07-021-33/+33
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=679255
* EmpathyChat: tell view to show/hide avatars based on connection interfacesWill Thompson2012-06-281-0/+11
| | | | | | | | I believe that by the time we get here the EmpathyTpChat's TpConnection should be prepared enough to know its interfaces? It seems to be in my brief testing. https://bugzilla.gnome.org/show_bug.cgi?id=627948
* factor out empathy_chat_copy()Guillaume Desmottes2012-06-271-37/+58
| | | | Much easier to understand its logic that way.
* empathy-chat: abort chat_log_filter if object was destroyedDebarshi Ray2012-06-111-9/+20
| | | | Fixes: https://bugzilla.gnome.org/677641
* empathy-chat: abort got_filtered_messages_cb if object was destroyedDebarshi Ray2012-06-111-3/+14
| | | | Fixes: https://bugzilla.gnome.org/677641
* chat: use empathy_client_factory_dup_contact_by_id_async()Guillaume Desmottes2012-05-111-62/+33
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=675808
* chat: use contact-chat-state-changed signalGuillaume Desmottes2012-05-101-4/+10
| | | | | | | Now that we have a signal giving us a prepared TpContact there is no need to use the empathy variant as we can easily create the EmpathyContact directly. https://bugzilla.gnome.org/show_bug.cgi?id=675807
* Use TP_ERROR instead of TP_ERRORSGuillaume Desmottes2012-05-071-2/+2
| | | | The latter has been deprecated in tp-glib master.
* remove useless empathy-contact-list.h includesGuillaume Desmottes2012-04-101-1/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=673821
* implement empathy_tp_chat_get_members as a method on TpChatGuillaume Desmottes2012-04-101-1/+1
| | | | | | | That means EmpathyTpChat doesn't have to implement the EmpathyContactList interface any more. https://bugzilla.gnome.org/show_bug.cgi?id=673821
* include logger single headerGuillaume Desmottes2012-04-041-2/+1
|
* Make use of new GLib macros to check API we are usingGuillaume Desmottes2012-03-071-1/+2
|
* coding style fixesGuillaume Desmottes2012-02-161-2/+2
|
* empathy-chat: use empathy_ensure_individual_from_tp_contact()Guillaume Desmottes2012-02-151-1/+2
| | | | | | | This ensures we'll pass the right individual ID to gnome-contacts when opening a meta-contact. https://bugzilla.gnome.org/show_bug.cgi?id=669676
* Toggle telling others you are typing to themPatrick F. Allen2012-02-131-1/+15
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=668985
* Don't unhighlight chat tabs when more messages are receivedWill Thompson2012-02-111-0/+21
| | | | | | | | | | | | | | | | Travis noticed that if you receive a message in which you are not mentioned after one in which you are, the highlight on the chat tab is cleared. This turned out to be because the text of the chat tab label was set in two different places in empathy-chat-window.c: one which takes should_highlight into account, and one which does not. This patch makes EmpathyChat keep track of whether it should be highlighted (reusing empathy_chat_messages_read(), which is called to acknowledge messages as having been seen by the user, to clear the flag), and then uses that from one of the label-updating code paths and deletes the other. https://bugzilla.gnome.org/show_bug.cgi?id=669823
* Chat: show who changed the subjectWill Thompson2012-02-021-1/+8
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=669177
* coding style fixGuillaume Desmottes2012-01-271-1/+1
|
* Merge branch 'highlight-regex'Will Thompson2012-01-261-9/+144
|\
| * EmpathyChat: cache highlight regex.Will Thompson2012-01-251-17/+45
| |
| * EmpathyChat: track self contact.Will Thompson2012-01-191-8/+27
| |
| * Don't highlight messages in 1-1 chats.Will Thompson2012-01-191-0/+4
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=576912
| * Don't highlight messages the user sent themselfWill Thompson2012-01-191-0/+4
| | | | | | | | | | If a message is outgoing, then why on earth would we check whether it mentions our own nick and highlight it?
| * Move empathy_message_should_highlight to EmpathyChatWill Thompson2012-01-191-3/+71
| | | | | | | | | | | | 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!)
| * EmpathyChat: include should_highlight in ::new-messageWill Thompson2012-01-191-2/+11
| | | | | | | | | | This allows EmpathyChatWindow to use this rather than calling empathy_message_should_highlight() itself.
| * chat_view_append_message: take a should_highlight argumentWill Thompson2012-01-191-3/+6
| | | | | | | | | | | | | | | | | | | | Rather than the EmpathyChatView implementations calling empathy_message_should_highlight() themselves, this patch makes EmpathyChat take responsibility for doing so. The theme preview in Preferences, whether deliberately or otherwise, highlights the line in which Juliet mentions Romeo. This behaviour is preserved.
* | don't display 'No topic defined' if topic are not supportedGuillaume Desmottes2012-01-241-4/+8
|/ | | | https://bugzilla.gnome.org/show_bug.cgi?id=668502
* chat: use an EmpathyIndividualMenuGuillaume Desmottes2011-12-141-8/+20
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=665038
* chat: use the individual view/store rather than the contact oneGuillaume Desmottes2011-11-241-14/+22
| | | | | | | | | The great unification ! EmpathyChat was the last user of the contact store/view, everything now use the individual ones. https://bugzilla.gnome.org/show_bug.cgi?id=663387
* use gtk_box_new() instead of gtk_[h,v]box_new()Guillaume Desmottes2011-11-211-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=662903
* stop using gtk_widget_get_pointer()Guillaume Desmottes2011-11-111-1/+4
| | | | | | | | | | It has been deprecated. I asked on #gtk+ and that seems to be the right way to do this. See http://git.gnome.org/browse/gtk+/commit/?id=2783158f8d9ca69e5a8fc4a903bfbcc3871a1b02 All these APIs are available since GTK+ 3.0 so we're good. https://bugzilla.gnome.org/show_bug.cgi?id=662903
* TpChat: hide guts of Telepathy properties.Will Thompson2011-10-151-43/+25
| | | | | | | This will make it easier to replace these with new stuff. The funky indentation in the callbacks for the subject and title changing is to make it clear that I didn't change that code; I'll reindent it in another patch.
* Merge remote-tracking branch 'pochu/error-dialog'Danielle Madeley2011-10-141-2/+4
|\
| * empathy_dispatcher_chat_with_contact_id(): add optional cbEmilio Pozuelo Monfort2011-09-051-2/+4
| | | | | | | | | | | | | | | | | | | | | | Conflicts: libempathy-gtk/empathy-individual-menu.c libempathy-gtk/empathy-new-message-dialog.c libempathy/empathy-dispatcher.c libempathy/empathy-dispatcher.h src/empathy-chat-manager.c src/empathy-chat-window.c
* | Merge branch: 'Add top-up link to chat text when there is insufficient credit'Danielle Madeley2011-10-141-3/+47
|\ \
| * | EmpathyChat: add a 'Top up' link when there's not enough creditEmilio Pozuelo Monfort2011-09-051-3/+47
| |/ | | | | | | | | | | | | | | | | This is only added for Adium themes since ChatTextView ones don't support markup. Conflicts: libempathy-gtk/empathy-chat.c
* | Use g_cclosure_marshal_generic for all signalsXavier Claessens2011-09-281-4/+3
| | | | | | | | No more ugly marshallers \o/
* | Add /inspector command to show webkit inspectorXavier Claessens2011-09-261-0/+13
| |
* | coding style fixEMPATHY_3_1_92Guillaume Desmottes2011-09-191-1/+1
| |
* | EmpathyChat: Set slider position after a timeoutXavier Claessens2011-09-191-16/+29
| | | | | | | | | | | | | | This ensure that the window has resized before setting the position because GtkPaned needs to know its size allocation https://bugzilla.gnome.org/show_bug.cgi?id=632357
* | Use tp_proxy_prepare_async instead of tp_account_manager_prepare_asyncGuillaume Desmottes2011-09-191-2/+2
| |
* | Because we like whalesXavier Claessens2011-09-091-2/+43
|/
* Assume GDK_KEY_PRESS in the default caseDanielle Madeley2011-07-261-2/+4
| | | | Warn if making this assumption.
* Populate spelling suggestions when menu key is pressedDanielle Madeley2011-07-181-6/+46
| | | | | | | Track what kind of event generated the populate-popup event and then use the cursor position or mouse position as appropriate. Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=654669
* use tp_text_channel_ack_all_pending_messages_async()Guillaume Desmottes2011-07-111-1/+2
|
* Use tp-glib password API (#651055)Guillaume Desmottes2011-06-221-5/+5
|
* empathy-chat: properly count unread messages when the connection goes away ↵Guillaume Desmottes2011-06-211-0/+11
| | | | (#653090)
* EmpathyChat: inherit from a GtkBox instead of a GtkBinGuillaume Desmottes2011-06-211-28/+2
| | | | This allows us to get rid of the size_allocate method.
* Only decrement unread_messages if it's not an edited messageDanielle Madeley2011-06-141-2/+4
| | | | Prevents ending up with message counts of -1
* Reset the chat state after receiving an edited messageDanielle Madeley2011-06-141-12/+9
|
* Replace tpl_text_event_dup_supersedes() with synthetic messageDanielle Madeley2011-06-141-18/+24
| | | | | This allows us to handle the case where we get b-supersedes-a, but we've lost the original message a.
* Get the original message from the logger so we can supersede itDanielle Madeley2011-06-141-1/+22
| | | | | | | Strictly, we don't need to do this, we could just use the supersedes-token as the message-token and we'd still be able to edit the messages in the future, but this way we get the nice pretty annotation saying that we edited it and when.
* Pass edited messages through to the ChatViewDanielle Madeley2011-06-121-15/+28
|
* Merge branch 'sms-651242'Guillaume Desmottes2011-06-081-2/+3
|\
| * Use tp-glib SMS high level API (#651242)Guillaume Desmottes2011-06-011-2/+3
| |
* | Don't shadow the global definition of 'log'.Travis Reitter2011-06-071-3/+3
|/
* Merge branch 'speedup-protocol-chooser'Sjoerd Simons2011-06-011-4/+0
|\
| * Don't set priv when it's not usedSjoerd Simons2011-05-291-4/+0
| |
* | Chatrooms: Make text input view sensitive on successful password entryChandni Verma2011-05-301-0/+1
|/ | | | Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=651058
* use tp_text_channel_set_chat_state_async() directlyGuillaume Desmottes2011-05-251-6/+31
|
* EmpathyTpChat: get rid of the destroy signalGuillaume Desmottes2011-05-251-6/+9
| | | | We should just use invalidated.
* remove empathy_tp_chat_get_connection and priv->connectionGuillaume Desmottes2011-05-251-3/+2
|
* EmpathyTpChat: inherit from TpTextChannel (#650554)Guillaume Desmottes2011-05-251-14/+6
|
* rename message-received signal to message-received-empathyGuillaume Desmottes2011-05-251-1/+1
|
* tp-chat: rename chat-state-changed to chat-state-changed-empathyGuillaume Desmottes2011-05-251-1/+1
| | | | chat-state-changed already exists in TpChannel and we can't redefine it.
* Merge branch 'remember-my-message-yo'Jonny Lamb2011-05-181-0/+23
|\
| * chat: rename get to dupJonny Lamb2011-05-181-1/+1
| | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
| * chat: add {get,set}_text methodsJonny Lamb2011-05-161-0/+23
| | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* | Merge branch 'ack'Jonny Lamb2011-05-171-5/+38
|\ \
| * | tp-chat: rename signal to message-acknowledgedJonny Lamb2011-05-131-6/+6
| | | | | | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
| * | chat: ::notify for all changes to unread messagesJonny Lamb2011-05-131-0/+1
| | | | | | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
| * | chat: call acknowledge_message on the chat view when it happensJonny Lamb2011-05-131-0/+3
| | | | | | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
| * | chat: don't toggle visibility of the chat view on marking messages readJonny Lamb2011-05-131-3/+1
| | | | | | | | | | | | | | | | | | | | | It doesn't make sense, and it's a lie. It will also break showing unread message markers in the adium chat view. Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
| * | tp-chat: give ::pending-message-removed the messageJonny Lamb2011-05-131-0/+1
| | | | | | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
| * | chat: make nb_unread_messages incoming onlyJonny Lamb2011-05-131-2/+32
| | | | | | | | | | | | | | | | | | and add a property so it can have change notification. Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* | | Merge branch 'more-contact-info'Will Thompson2011-05-161-0/+82
|\ \ \ | |_|/ |/| |
| * | Add a /whois command.Will Thompson2011-05-161-0/+82
| | | | | | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=571631
* | | Merge remote-tracking branch ↵Guillaume Desmottes2011-05-131-29/+31
|\ \ \ | |/ / |/| | | | | 'glassrose/moving-part-functionality-to-empathy-chat-window-643295'
| * | Password infobar amendmentsChandni Verma2011-05-111-0/+19
| | | | | | | | | | | | | | | Destroy password infobar on parting password protected chatrooms and insensitivate input-text-view when displaying a new infobar
| * | Fire a "part-command-entered" signal from libempathy-gtk/empathy-chat.c to ↵Chandni Verma2011-05-071-29/+12
| | | | | | | | | | | | | | | | | | be caught in src/empathy-chat-window.c Fixes linking issues: https://bugzilla.gnome.org/show_bug.cgi?id=643295
* | | Properly convert timestamps received from X11 (#650015)Guillaume Desmottes2011-05-121-2/+2
| |/ |/| | | | | | | X11 timestamps are guint32 while Telepathy uses gint64 timestamps. We should always use tp_user_action_time_from_x11() to do the conversion.
* | add translators comment explaining the insufficient balance error (#649735)Guillaume Desmottes2011-05-091-0/+2
| |
* | [chat] expose this property in EmpathyChatDanielle Madeley2011-05-051-0/+44
| |
* | Use dbus-error from delivery report for better errorsDanielle Madeley2011-05-051-21/+31
| |
* | Add "(SMS)" to the tab name for SMS channelsDanielle Madeley2011-05-051-1/+10
| |
* | Change empathy_chat_get_name() from const char * -> char *Danielle Madeley2011-05-051-4/+4
| | | | | | | | | | | | | | Change the name to empathy_chat_dup_name() to reflect this change. Note to reviewer: I think I've updated all the callers, but this is the commit to check carefully for new leaks :)
* | Add sms-channel property to empathy-chatDanielle Madeley2011-05-051-2/+44
|/
* Use focus feature of adium themesXavier Claessens2011-04-271-2/+14
|
* use tp_text_channel_send_message_async()Guillaume Desmottes2011-04-181-8/+11
|
* chat_send_error_cb: don't display the message if it's NULLGuillaume Desmottes2011-04-181-3/+8
|
* emulate '/me' command if CM doesn't support Action messages (#622118)Guillaume Desmottes2011-04-061-2/+26
|
* Use the right marshal fileEmilio Pozuelo Monfort2011-03-191-2/+2
|
* Fix warnings from GCC 4.6 about variables that are set but not used.Kjartan Maraas2011-03-171-11/+0
|
* pass a preferred handler when requesting channelsGuillaume Desmottes2011-03-171-2/+2
| | | | | We want to use Empathy components when possible instead of, say, KDE ones if both are installed (#643863).
* rename empathy-dispatcher to empathy-request-utilGuillaume Desmottes2011-03-171-4/+4
| | | | | We don't have EmpathyDispatcher any more so this file just contains some utility functions now.
* Add 'Block Contact' to empathy-contact-menuDanielle Madeley2011-03-081-1/+2
|
* Disable /part command for nowGuillaume Desmottes2011-02-251-0/+7
| | | | See https://bugzilla.gnome.org/show_bug.cgi?id=643295
* Implementation of /PART command for MUCsChandni Verma2011-02-251-6/+56
| | | | Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=604348
* Updating empathy_tp_chat_leave() function in empathy-tp-chat APIChandni Verma2011-02-251-1/+1
|
* Unref the entity when we're doneEmilio Pozuelo Monfort2011-02-251-0/+2
|
* Port empathy to Telepathy logger 0.2.0Nicolas Dufresne2011-02-251-17/+20
|
* re-implement /query and /msg (#623682)Guillaume Desmottes2011-02-241-24/+38
|
* rename empathy_theme_manager_get() to empathy_theme_manager_dup_singleton()Guillaume Desmottes2011-02-171-1/+4
| | | | We also don't leak it any more.
* coding style fixGuillaume Desmottes2011-02-011-1/+1
|
* chat: save room passwords in the keyring if requestedJonny Lamb2011-01-291-1/+11
| | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* chat: try to use a room password from the keyring or offer to save the passwordJonny Lamb2011-01-291-8/+159
| | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* chat: add clear secondary icon to password entryJonny Lamb2011-01-281-0/+31
| | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* chat: make the password entry growJonny Lamb2011-01-281-4/+4
| | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* chat: display a spinner when attempting a MUC passwordJonny Lamb2011-01-281-46/+84
| | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* empathy-chat: disable file transfer for nowGuillaume Desmottes2011-01-251-1/+0
| | | | It's broken so better disabling it than crashing (#637322).
* add EMPATHY_CONTACT_FEATURE_FTGuillaume Desmottes2011-01-251-0/+1
|
* Chat command nick modified to use RequestRename instead of SetAliasesChandni Verma2011-01-131-11/+15
|
* Allow /nick command only in chatrooms that support nick renamingChandni Verma2011-01-131-14/+43
| | | | Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=638766
* Remove the composing listSjoerd Simons2010-12-291-0/+7
|
* Don't display any contact menu for muc chatsGuillaume Desmottes2010-12-221-6/+0
| | | | | It's confusing to have it in muc, even if a contact is selected. And we can still interact with the contact by right clicking on it if needed.
* update copyrightsGuillaume Desmottes2010-11-301-1/+1
|
* remove old definesGuillaume Desmottes2010-11-301-3/+0
|
* EmpathyChat::new-message: tell if the message is a pending one or notGuillaume Desmottes2010-11-301-6/+10
|
* chat_log_filter: don't leak EmpathyMessageGuillaume Desmottes2010-11-241-0/+1
|
* chat: add a timer before saving the hpane positionGuillaume Desmottes2010-11-181-5/+25
| | | | This avoid to flood with D-Bus message when resizing the window (#635022).
* move size-requst handling in input-text-viewGuillaume Desmottes2010-11-111-38/+0
|
* add EmpathyInputTextViewGuillaume Desmottes2010-11-111-8/+3
|
* empathy-chat: remove the size-request hack (#633835)Guillaume Desmottes2010-11-111-51/+0
| | | | It just work with GTK+3 \o/
* coding style fixesEMPATHY_2_91_2Guillaume Desmottes2010-11-081-2/+2
|
* Copy topic selection manually since Ctrl-C is bound to the menu item.Vitaly Minko2010-10-281-0/+25
|
* add a new popup-menu item in the chat window allowing to add words to ↵Vitaly Minko2010-10-221-1/+133
| | | | dictionaries (#550775).
* Separate spelling suggestions in one sub-menu per language (#532832)Vitaly Minko2010-10-151-22/+68
|
* no more need to implement chat_size_requestGuillaume Desmottes2010-10-041-24/+0
|
* empathy-chat: update GDK_ defines to GDK_KEY_Diego Escalante Urrelo2010-09-281-8/+8
| | | | | | This change works in both GTK+ 2.22 and GTK+ 3.0 Bug #630107
* empathy_chat_paste: paste to to search bar if visible (#629594)Guillaume Desmottes2010-09-141-0/+5
|
* coding style fixGuillaume Desmottes2010-09-131-1/+1
|
* Remove an idle handler when EmpathyChat is destroyedPhilip Withnall2010-09-031-2/+14
| | | | | This prevents the idle handler potentially running after the EmpathyChat has been destroyed, and accessing freed memory. Closes: bgo#628156
* use TP_USER_ACTION_TIME_* (#627165)Guillaume Desmottes2010-08-181-2/+2
|
* chat: get the account from the tp-chatGuillaume Desmottes2010-08-121-3/+2
|
* empathy_dispatcher_join_muc: get an account instead of a connectionGuillaume Desmottes2010-08-111-4/+5
|
* empathy_dispatcher_chat_with_contact_id: get a TpAccount instead of a ↵Guillaume Desmottes2010-08-111-14/+6
| | | | TpConnection
* empathy_dispatcher_chat_with_contact_id: remove callback argumentGuillaume Desmottes2010-08-111-2/+1
| | | | It's unused anyway.
* Fix missing entries in switch statementsPhilip Withnall2010-08-051-0/+4
| | | | Added missing default cases and missing enum cases.
* Merge EmpathyContact:name and *_set_alias() to EmpathyContact:aliasPhilip Withnall2010-07-221-9/+9
| | | | The "name" API was a relic of Gossip.
* Disable /query and /msg commands for now (#624268)Guillaume Desmottes2010-07-141-0/+7
| | | | This avoid to crash while bug 623682 hasn't been fixed.
* chat: add FIXME explaining how we should ideally request channelsGuillaume Desmottes2010-07-071-0/+6
|
* empathy_dispatcher_join_muc: remove callback argGuillaume Desmottes2010-07-071-4/+2
| | | | We always want to let the text handler handle the channel.
* chat: no need to pass a callback to empathy_dispatcher_chat_with_contact_id ↵Guillaume Desmottes2010-07-071-26/+2
| | | | | | any more The HandleChannels implementation will re-set the tp-chat once we get it.
* /join: don't pass a call when calling empathy_dispatcher_join_muc()Guillaume Desmottes2010-07-071-16/+1
| | | | We want to let the text channel handler to handle it.
* chat: display pending messages once constructed if the channel is a room ↵Guillaume Desmottes2010-06-291-1/+8
| | | | | | | | | | | (#623112) Now that we wait that the TpChat has retrieved pending messages before considering it as ready, the message-received signal is fired *before* we connect it in EmpathyChat and so it misses them. We fix that by looking for pending messages once the EmpathyChat has been constructed.
* Work around GCompletion deprecation for the time beingDanielle Madeley2010-06-291-0/+1
|
* Use the right GSettings schemeSjoerd Simons2010-06-201-6/+6
|
* EmpathyChat: use an opaque struct for priv not a void pointerSjoerd Simons2010-06-201-2/+2
|
* Depend on telepathy-logger (#610956)Guillaume Desmottes2010-06-181-61/+1
|
* TplLogEntry(Text) has been renamed to TplEntry(Text)Guillaume Desmottes2010-06-181-3/+3
|
* port to latest tp-logger APIGuillaume Desmottes2010-06-181-3/+2
|
* Port Empathy code to GSettings, remove EmpathyConfDanielle Madeley2010-06-181-34/+38
|
* Use new GtkTextView API to make EmpathyChat build with GSEAL enabledXavier Claessens2010-06-121-2/+2
|
* Fix and improve spell-checking (#604159)Mike Ruprecht2010-05-251-53/+256
|
* add timestamp arg to empathy_dispatcher_join_mucSjoerd Simons2010-04-251-1/+2
|
* add timestamp arg to empathy_dispatcher_chat_with_contact(_id)Sjoerd Simons2010-04-251-1/+2
|
* Do not use deprecated GTK symbolsXavier Claessens2010-04-191-1/+1
|
* libempathy-gtk/empathy-chat.c: use tp_g_signal_connect_object instead of ↵Guillaume Desmottes2010-04-091-4/+4
| | | | empathy_signal_connect_weak
* Hide the expander if the topic is not ellipsedXavier Claessens2010-04-021-0/+6
| | | | Fixes bug #533638
* Make topic label expand and wrap nicelyXavier Claessens2010-04-021-1/+92
|
* contact-list-store: don't put contacts in 'Ungrouped' when show-groups = FalseDanielle Madeley2010-04-011-1/+5
| | | | Further, set show-groups = False for the contact list in EmpathyChat
* chat: use empathy_signal_connect_weak to connect signal on the bufferGuillaume Desmottes2010-03-291-2/+2
| | | | | | The textview can't survive once the EmpathyChat has been destroyed but if for some reason its buffer it's still alive, firing this signal leads to a crash (#612363).
* chat_input_text_buffer_changed_cb: 'priv' is uselessGuillaume Desmottes2010-03-291-3/+0
|
* Revert "Revert "Make links clickable in presence message and topics""Xavier Claessens2010-03-101-1/+7
| | | | This reverts commit efb42513359f4db545e3312e3c583d07c6306418.
* Revert "Make links clickable in presence message and topics"Xavier Claessens2010-03-081-7/+1
| | | | | | | | This reverts commit 00ab069a55f05f0203bf58f071fa7adc54b6e9ac. Conflicts: libempathy-gtk/empathy-contact-widget.c
* Make links clickable in presence message and topicsXavier Claessens2010-03-031-1/+7
| | | | Fixes bug #525576
* Update to TPL 0.1.1Cosimo Alfarano2010-02-261-1/+1
| | | | | | Updated the the pkg-config version to 0.1.1 Updated the the pkg-config dep name fom libtelepathy-logger to telepathy-logger Updated TPL's _finish() methods using one for each async API.
* moving retrieving_backlog = FALSE right before empathy_chat_messages_read()Cosimo Alfarano2010-02-261-1/+1
| | | | or it will allow race conditions
* TPL Enabling patch, all-in-one.Cosimo Alfarano2010-02-261-25/+158
| | | | By default TPL is disabled, use --enable-tpl configure option to enable it.
* Introduce empathy_tp_chat_leaveGuillaume Desmottes2010-02-191-1/+1
|
* Remove duplicate and buggy bookkeeping of pending messagesSjoerd Simons2010-02-161-14/+7
|
* Don't reinvent g_slist_foreachSjoerd Simons2010-02-141-5/+3
|
* Don't crash when switching to a tab with no TpChatWill Thompson2010-02-141-1/+5
| | | | Fixes: #609843
* Use a GSList instead of GList to store messages to ackGuillaume Desmottes2010-02-091-4/+4
|
* empathy-chat: acknowledge pending messages on empathy_chat_messages_read() ↵Danielle Madeley2010-02-091-6/+13
| | | | | | | | | | | | | (#608979) Empathy displays this handy number of unread messages in the title bar, but you can't replicate this behaviour using an Observer because Empathy acknowledges the messages immediately. This patch makes it so that Empathy only acknowledges the messages when it decrements the unread messages count. N.B. EmpathyTpChat currently seems to assume that no other client is going to acknowledge messages for channels, it is handling. This seems valid enough, just pointing it out.
* Capture the escape key on the chat view and search bar, to make it hide the ↵Thomas Meire2010-01-211-0/+3
| | | | search bar
* removed some trailing spacesThomas Meire2010-01-211-3/+3
|
* added a "find" menu itemThomas Meire2010-01-211-5/+12
|
* Fix /join command with one channel (#607306)Thomas Meire2010-01-181-1/+1
|
* Add search bar in chat text views (#585168)Thomas Meire2010-01-121-1/+16
|
* allow multiple rooms with /join (bug #604347)Thomas Meire2010-01-071-5/+16
|
* Print autocompletion suggestions to chatview (#599779)Thomas Meire2010-01-061-0/+14
|
* Fix autocompletion for non-alphanumeric nicknamesThomas Meire2010-01-061-1/+10
| | | | | | | | | | | This bug is caused by the behaviour of gtk_text_iter_backward_word_start. It searches the text for delimiters, based on languages in pango. Numbers and characters as | and [ are not considered to be part of a word in most languages, while they are a part of nicknames. Therefore, empathy fails to get the typed part of the nickname. The attached patch will instead search backwards for a space character. The text that needs to be completed, is the text between the caret and the first space before that. (#554767)
* Miscellaneous string fixesPhilip Withnall2010-01-011-1/+1
| | | | | | | Lots of small spelling and grammar fixes, as well as some terminology cleanups. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* Punctuation fixes in translatable stringsPhilip Withnall2010-01-011-12/+12
| | | | | | | Fix punctuation in the IRC command help messages. Use proper Unicode ellipses throughout Empathy, and proper em-dashes where appropriate. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* chat: don't display pending messages before messages from logsGuillaume Desmottes2009-12-081-0/+7
| | | | | | | | | empathy_chat_set_tp_chat has a comment saying that show_pending_messages is a no-op when calling during object construction. This now is now actually true as we added a boolean saying if we can display pending messages or not. This is to avoid displaying pending messages *before* the messages fetched from logs (#603980).
* remember the chat window's paned width (#586290)ranjiao2009-12-081-0/+24
|
* remove useless castGuillaume Desmottes2009-12-081-1/+1
|
* chat: wait that connection is ready before re-requesting the channel (#603976)Guillaume Desmottes2009-12-081-23/+44
|
* chat_destroy_cb: use chat_update_contacts_visibility instead of ↵Guillaume Desmottes2009-12-071-1/+2
| | | | | | | empathy_chat_set_show_contacts That way priv->show_contacts is not changed and we'll redisplay the contact list when reconnecting if needed (#598964).
* explicitely pass the show state to empathy_chat_set_show_contactsGuillaume Desmottes2009-12-071-6/+8
| | | | | This will allow us to show/hide the contact list without changing priv->show_contacts.
* chat_new_connection_cb: don't try to reconnect chats if the account is not ↵Guillaume Desmottes2009-12-021-0/+3
| | | | | | | connected We should wait that the account is connected before reconnecting chats (#603593).
* chat: don't display latest logs in roomGuillaume Desmottes2009-12-021-1/+3
|
* Merge commit 'shaunm/dndfiles2'Guillaume Desmottes2009-11-301-0/+6
|\
| * Utilitiy function to send files from a URI list, for dnd implementationsShaun McCance2009-11-251-0/+5
| |
| * Implementing drag and drop file sending on chat windowsShaun McCance2009-11-251-0/+1
| |
* | empathy-chat: keep count of the number of unread messagesGuillaume Desmottes2009-11-271-0/+23
|/
* don't mix code and variable declarationsGuillaume Desmottes2009-11-191-4/+4
|
* Handle the case where a user's id changes in a chatroomJonathon Jongsma2009-11-191-0/+29
| | | | | | | | | | | | | | | | | Telepathy-glib has a enum value for the MembersChanged signal to signify that a user's ID has changed. Previously, empathy was simply interpreting this as if a user with the old name had left the chat and a different user with the new name had entered the chat. This change handles this case more gracefully by updating the contact's id (and name) when this change reason is present One thing that does not yet work with this patch is if you are engaged in a private chat with a person and they change their nick in the middle of the chat. Then the EmpathyContact* that you are chatting with is no longer the EmpathyContact* representing the remote user, so messages won't be delivered properly. When we detect that a user has been 'renamed', we probably need to somehow go through all of the private chats with that person and swap out the old (invalid) EmpathyContact* and replace it with the new one so that the chat can continue without interruption.
* Use accessor functions instead direct access.Javier Jardón2009-11-171-4/+6
| | | | | | | | | Some functions still remaining because there is not API in GTK+ 2.19.0 yet. http://bugzilla.gnome.org/show_bug.cgi?id=586476 Reviewed-By: Danielle Madeley <danielle.madeley@collabora.co.uk>
* Implement /nick commandXavier Claessens2009-11-141-0/+23
|
* Respect indentation style.Cosimo Cecchi2009-11-131-14/+14
|
* empathy-chat: watch for password-needed property changesGuillaume Desmottes2009-11-131-4/+16
| | | | | | This is needed when we are invited to a protected room. The channel is created without the password requiered flag and then is updated once we accept the invitation.
* ask for password when joining a protected room (#579341)Guillaume Desmottes2009-11-131-0/+152
|
* empathy-chat: don't grab focus on the input entry is it's insensitiveGuillaume Desmottes2009-11-131-1/+3
|
* Print "Unknown command" when typing "/help unknown"Xavier Claessens2009-11-041-0/+3
|
* Make parsing of commend with no args work againXavier Claessens2009-11-041-2/+6
|
* Merge branch 'irc-command'Xavier Claessens2009-11-041-15/+363
|\
| * Optimisation: Remove of the duplicated check for the command prefix.Xavier Claessens2009-11-041-6/+2
| |
| * Make clear that for(foo); does nothing.Xavier Claessens2009-11-041-1/+2
| |
| * In case of unknown command, suggest /helpXavier Claessens2009-11-011-1/+2
| |
| * Move /me and /say support from EmpathyMessage to EmpathyChat.Xavier Claessens2009-11-011-14/+69
| | | | | | | | Also make commands not case sensitive and use g_ascii_isspace to detect spaces.
| * Add support for /help command without arg, to list all available commands.Xavier Claessens2009-11-011-39/+47
| | | | | | | | Also improve a bit the support for optional args.
| * Add support for /help command and fix review commentsXavier Claessens2009-11-011-91/+165
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=573407
| * Refactor chat commands.Xavier Claessens2009-11-011-85/+127
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=573407
| * Add support for /msg commandXavier Claessens2009-11-011-2/+74
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=573407
| * Add support for /query commandXavier Claessens2009-11-011-0/+28
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=573407
| * Add support for /join commandXavier Claessens2009-11-011-2/+30
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=573407
| * Fix topic not always shown, and add /topic command support.Xavier Claessens2009-11-011-4/+47
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=573407
* | Merge branch 'fix-586098'Danielle Madeley2009-11-031-50/+251
|\ \ | | | | | | | | | | | | Conflicts: libempathy-gtk/empathy-chat.c
| * | empathy-chat.c: input history - Using GList pointer instead of gint index.Jerzy Mansarliński2009-11-011-83/+109
| | |
| * | Fix coding styleJerzy Mansarliński2009-10-301-36/+37
| | |
| * | Add terminal-like chat input history. Fixes bug #586098.Jerzy Mansarliński2009-10-301-37/+211
| |/
* | all: log error messages if preparing the account manager failsJonny Lamb2009-10-301-1/+4
| | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* | chat: port to new tp-glib account APIJonny Lamb2009-10-241-22/+43
|/ | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* Merge commit 'istaz/handle_none'Xavier Claessens2009-09-211-4/+3
|\
| * Fallback to the contact id if present when there is no room id for ↵Olivier Le Thanh Duong2009-09-211-4/+3
| | | | | | | | empathy_tp_chat
* | Don't paste if the remote contact is disconnected (#595417).Cosimo Cecchi2009-09-171-0/+7
|/
* Use char* not EmpathyMessage in TpChat:send-errorWill Thompson2009-08-311-2/+2
| | | | | | The only consumer of this signal just extracts the body from the EmpathyMessage. It will be easier to handle the SendError D-Bus signal if we don't have to construct an EmpathyMessage from it.
* Remove validation from chat_send.Will Thompson2009-08-281-22/+8
| | | | | Instead, call empathy_message_new_from_entry (), which parses the entered text for us.
* /clearly shouldn't clear the window.Will Thompson2009-08-281-1/+1
|
* Merge back from masterSjoerd Simons2009-08-221-5/+20
|\
| * empathy-chat: reformat 2 strings to allow translaters to reverse the order ↵Guillaume Desmottes2009-08-201-2/+8
| | | | | | | | of the args if needed (#587803)
| * Let messages with two slashes without spaces in between passFrédéric Péters2009-08-071-3/+12
| | | | | | | | This makes it possible to send /unix/path (GNOME bug 589335)
* | Chang the API of AccountManager to have the get lookup the account by nameSjoerd Simons2009-07-301-2/+4
| | | | | | | | | | | | | | | | EmpathyAccountManager used to have a _lookup function that looked up accounts by name and a _get function that lookup up accounts by connection. This is confusing, as looking up an account for a connection is less common rename have the _get_account be the same _lookup (but without returning a ref) and add a _get_account_for_connection function lookup by account
* | remove usage of empathy_account_equalSjoerd Simons2009-07-301-1/+1
|/
* Use accessor functions instead direct access (Fixes #586476)Jonny Lamb2009-07-101-12/+19
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>