aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-chat-manager.c
Commit message (Collapse)AuthorAgeFilesLines
* 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-2/+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
* chat-manager: cache the individual mgrGuillaume Desmottes2012-10-031-1/+31
| | | | We want to keep it alive during the whole lifetime of empathy-chat.
* chat-manager: use tp_channel_join_async()Guillaume Desmottes2012-05-031-1/+17
| | | | | | It's basically the same as empathy_tp_chat_join() https://bugzilla.gnome.org/show_bug.cgi?id=675229
* add missing config.h includesGuillaume Desmottes2012-03-071-0/+2
|
* 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
* | Use g_cclosure_marshal_generic for all signalsXavier Claessens2011-09-281-2/+2
|/ | | | No more ugly marshallers \o/
* Port to new tp-glib client factoryGuillaume Desmottes2011-08-181-25/+4
| | | | | | | | | | | | | | | | | - 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
* Use tp-glib SMS high level API (#651242)Guillaume Desmottes2011-06-011-1/+1
|
* Reopen tabs as SMS channels when appropriateEmilio Pozuelo Monfort2011-05-251-0/+4
|
* EmpathyTpChat: Use a READY property instead of our own ready codeGuillaume Desmottes2011-05-251-65/+1
|
* EmpathyTpChat: inherit from TpTextChannel (#650554)Guillaume Desmottes2011-05-251-10/+5
|
* Use the EmpathyChannelFactory with all components creating EmpathyTpChatGuillaume Desmottes2011-05-251-0/+9
|
* chat-manager: pass user action time of DBus to show the closed tabJonny Lamb2011-05-181-7/+11
| | | | | | This was making undo closing tabs in the background, aww. Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* Merge branch 'undo-close-tab'Jonny Lamb2011-05-181-1/+72
|\
| * chat-manager: use EMPATHY_CHAT_BUS_NAMEJonny Lamb2011-05-181-1/+1
| | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
| * chat-manager: don't leak proxyJonny Lamb2011-05-181-0/+1
| | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
| * chat-manager: expose UndoClosedChat over DBusJonny Lamb2011-05-161-1/+71
| | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* | chat-manager: clarify ownership of messages hash tableJonny Lamb2011-05-181-1/+3
| | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* | chat-manager: s/null/NULL/Jonny Lamb2011-05-181-1/+1
| | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* | chat-manager: add missing freeJonny Lamb2011-05-181-0/+1
| | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* | chat: rename get to dupJonny Lamb2011-05-181-1/+1
| | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* | chat-manager: keep a hash table with messages left when the chat closedJonny Lamb2011-05-161-0/+59
|/ | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* Merge branch 'sms-support-rebase'Danielle Madeley2011-05-051-1/+2
|\
| * Include SMSChannel property in empathy_chat_window_find_chat()Danielle Madeley2011-05-051-1/+2
| | | | | | | | | | | | | | | | | | | | The approach in https://bugzilla.gnome.org/show_bug.cgi?id=644085 was wrong because channel paths can change across reconnects. This would cause new chat windows to be created when they were rerequested. A more future-proof solution would be to keep a white/black list of comparable properties, but I think this is overengineering the problem for the time being. Instead we'll just include the SMSChannel property in the comparison.
* | empathy-chat: track chat displayed instead of channels being handled (#649273)Guillaume Desmottes2011-05-031-39/+32
| |
* | remove unused empathy_chat_manager_get_num_handled_chats()Guillaume Desmottes2011-05-031-8/+0
|/
* empathy-tp-chat: ensure that we get a TpTextChannelGuillaume Desmottes2011-04-181-0/+7
|
* define constants for handler bus nameGuillaume Desmottes2011-03-171-2/+2
| | | | It's more convenient and safe than hardcoding them everywhere.
* rename empathy-dispatcher to empathy-request-utilGuillaume Desmottes2011-03-171-3/+3
| | | | | We don't have EmpathyDispatcher any more so this file just contains some utility functions now.
* Display typing icon in MUC contact-listChandni Verma2011-01-181-1/+3
| | | | Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=609419
* chat-manager: stop telling the chat mgr about handled roomsGuillaume Desmottes2010-12-021-18/+0
| | | | | | | | | Now that the chat handler has moved to its own process this is no longer enough. The instance of the chat manager in empathy doesn't know about the handlded channels. The chat manager should implement an Observer instead to know about all the rooms.
* chat-manager: keep a ref on the chatroom mgrGuillaume Desmottes2010-10-281-12/+19
| | | | This avoid to recreate one each time we need it.
* chat-manager: add API to track the number of handled chatsGuillaume Desmottes2010-10-251-0/+61
|
* chat-manager: make clear that we are dealing with *closed* chatsGuillaume Desmottes2010-10-251-19/+20
|
* rename the chat handler to Empathy.ChatGuillaume Desmottes2010-10-251-1/+1
|
* Ensure that the connection of the account passed to EmpathyTpChat has ↵Guillaume Desmottes2010-10-201-2/+6
| | | | capabilities ready
* use TP_USER_ACTION_TIME_* (#627165)Guillaume Desmottes2010-08-181-2/+2
|
* tp-chat: add 'account' propertyGuillaume Desmottes2010-08-121-1/+1
|
* empathy_dispatcher_join_muc: get an account instead of a connectionGuillaume Desmottes2010-08-111-52/+10
|
* empathy_dispatcher_chat_with_contact_id: get a TpAccount instead of a ↵Guillaume Desmottes2010-08-111-1/+5
| | | | TpConnection
* empathy_dispatcher_chat_with_contact_id: remove callback argumentGuillaume Desmottes2010-08-111-1/+1
| | | | It's unused anyway.
* tell the chatroom manager asap about chatsSjoerd Simons2010-07-091-10/+20
|
* empathy_dispatcher_join_muc: remove callback argGuillaume Desmottes2010-07-071-1/+1
| | | | We always want to let the text handler handle the channel.
* Revert "no need to specify each time of handle"Sjoerd Simons2010-07-061-0/+11
| | | | This reverts commit d88eaef098d3afc329266f25ce194c6dfebbc979.
* Inform the chatroom mgr when we are handling a new roomGuillaume Desmottes2010-07-051-0/+10
| | | | It can't rely on the internal dispatcher any more.
* no need to specify each time of handleGuillaume Desmottes2010-07-051-11/+0
|
* Handle text channels using TpSimpleHandler (#623358)Guillaume Desmottes2010-07-051-0/+168
| | | | Also move handling code from empathy.c to empathy-chat-manager.
* chat-manager: document the queueGuillaume Desmottes2010-07-051-0/+1
|
* 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/+1
|
* chat-manager: take an EmpathyChat instead of an EmpathyContactJonny Lamb2010-03-061-14/+99
| | | | | | This way, we can support both 1-to-1 chats, *and* MUCs. Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* Add EmpathyChatManager::chats-changed signal and make the chat window listen ↵Jonny Lamb2010-03-061-0/+31
| | | | | | to it. Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* Add chat manager which tracks chats closing and can respawn them (bug #609832)Jonny Lamb2010-03-061-0/+137
Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>