aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tp-chat.c
Commit message (Collapse)AuthorAgeFilesLines
* tp-chat: prepare CONTACTS before our custom featureGuillaume Desmottes2013-10-241-1/+2
| | | | | We rely on TP_CHANNEL_FEATURE_CONTACTS being prepared when preparing EMPATHY_TP_CHAT_FEATURE_READY.
* Add missing telepathy-glib-dbus.h includesXavier Claessens2013-10-031-0/+1
|
* tpaw-utils: move EMP_STR_EMPTY to tp-aw and rename itMarco Barisione2013-08-201-1/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=699492
* Reorder header inclusions accordingly to the Telepathy coding styleEmanuele Aina2013-04-021-1/+1
| | | | | | | | | | | | 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
* Drop unused/redundant header inclusionsEmanuele Aina2013-03-281-5/+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
* tp-chat: prepare CONNECTED on the TpConnection firstGuillaume Desmottes2013-01-081-10/+48
| | | | | | We have to make sure that tp_connection_get_self_contact() won't return NULL. https://bugzilla.gnome.org/show_bug.cgi?id=691006
* tp-chat: set Private and InviteOnly props on conference channelsGuillaume Desmottes2012-09-251-3/+30
| | | | | | | Only the person invited are suppose to join these channels so tweak their settings to make them more secure. https://bugzilla.gnome.org/show_bug.cgi?id=684675
* include telepathy-glib.hGuillaume Desmottes2012-09-171-2/+0
| | | | | 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-2/+2
| | | | tp_channel_get_connection() has been deprecated.
* use tp_text_channel_dup_pending_messages()Guillaume Desmottes2012-09-111-2/+2
| | | | tp_text_channel_get_pending_messages() has been deprecated.
* coding style fixesGuillaume Desmottes2012-07-231-1/+1
|
* tp-chat: prepare the Password feature if neededGuillaume Desmottes2012-07-171-0/+38
|
* Revert "tp-chat:requires TP_CHANNEL_FEATURE_PASSWORD"Guillaume Desmottes2012-07-171-2/+1
| | | | | | | | This reverts commit 33ad5c340ed97da141c3182051502043a710e92f. This is not the right way to fix this bug. If the channel doesn't implement the Password iface (like in a 1-1 chat) our own tp-chat feature is never prepared.
* tp-chat:requires TP_CHANNEL_FEATURE_PASSWORDGuillaume Desmottes2012-07-171-1/+2
| | | | | | | | check_almost_ready() relies on the password feature to be prepared so we should make sure that tp-glib prepares it for us before starting to prepare our own feature. https://bugzilla.gnome.org/show_bug.cgi?id=680076
* tp-chat: stop setting the TpAccount during constructionGuillaume Desmottes2012-06-271-37/+9
| | | | | | | | | | It doesn't have to be a property any more, we can just get it from the TpConnection when we need it. Should fix a race crash when the TpAccount of the TpConnection is not set yet; see fdo#51444. https://bugzilla.gnome.org/show_bug.cgi?id=678807
* tp-chat: use TpProxy accessorsGuillaume Desmottes2012-06-071-4/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=677545
* tp-chat: use tp_text_channel_get_chat_state()Guillaume Desmottes2012-05-101-2/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=675807
* tp-chat: remove chat-state-changed-empathy signalGuillaume Desmottes2012-05-101-58/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=675807
* Use tp_capabilities_get_channel_classes_variant()Guillaume Desmottes2012-05-101-11/+33
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=674774
* tp-chat: stop using the contact factory when building messageGuillaume Desmottes2012-05-081-63/+12
| | | | | | | | | Messages are now synchronously proccessed so we don't have to keep an internal queue of messages being prepared. We also need to complete the preparation of the EmpathyTpChat feature in idle as it's now prepared synchronously as well. https://bugzilla.gnome.org/show_bug.cgi?id=675597
* Use TP_ERROR instead of TP_ERRORSGuillaume Desmottes2012-05-071-1/+1
| | | | The latter has been deprecated in tp-glib master.
* tp-chat:stop using the handle of membersGuillaume Desmottes2012-05-031-22/+14
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=675229
* empathy_tp_chat_is_invited: return a TpContact for the inviterGuillaume Desmottes2012-05-031-10/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=675229
* tp-chat: use new channel group API to track membersGuillaume Desmottes2012-05-031-136/+55
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=675229
* tp_chat_prepare_ready_async: use new channel group APIGuillaume Desmottes2012-05-031-46/+16
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=675229
* empathy_tp_chat_is_invited: use new channel group APIGuillaume Desmottes2012-05-031-5/+12
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=675229
* remove empathy_tp_chat_join()Guillaume Desmottes2012-05-031-32/+0
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=675229
* tp-chat: add the 'members-changed' signalGuillaume Desmottes2012-05-021-4/+12
| | | | | | | It uses to be implemented by the EmpathyContactList interface which has been removed. https://bugzilla.gnome.org/show_bug.cgi?id=674864
* tp-chat: add the 'member-renamed' signalGuillaume Desmottes2012-05-021-3/+11
| | | | | | | It uses to be implemented by the EmpathyContactList interface which has been removed. https://bugzilla.gnome.org/show_bug.cgi?id=674864
* implement empathy_tp_chat_get_members as a method on TpChatGuillaume Desmottes2012-04-101-17/+3
| | | | | | | That means EmpathyTpChat doesn't have to implement the EmpathyContactList interface any more. https://bugzilla.gnome.org/show_bug.cgi?id=673821
* remove unused tp_chat_removeGuillaume Desmottes2012-04-101-18/+0
| | | | | | empathy_contact_list_remove() is not used any more. https://bugzilla.gnome.org/show_bug.cgi?id=673821
* implement empathy_tp_chat_add as a method on TpChatGuillaume Desmottes2012-04-101-5/+2
| | | | | | We want to get rid of the EmpathyContactList interface. https://bugzilla.gnome.org/show_bug.cgi?id=673821
* tp-chat: use self->priv directlyGuillaume Desmottes2012-04-101-26/+13
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=673821
* tp-chat: port to Telepathy coding styleGuillaume Desmottes2012-04-101-1118/+1161
| | | | | | I'm so tired of hacking in this file using the old style. https://bugzilla.gnome.org/show_bug.cgi?id=673821
* Chat: show who changed the subjectWill Thompson2012-02-021-1/+25
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=669177
* TpChat: add a :self-contact property.Will Thompson2012-01-191-0/+19
|
* don't ignore TP_DELIVERY_STATUS_TEMPORARILY_FAILED delivery reportGuillaume Desmottes2011-11-281-1/+2
| | | | | | | We should display an error message as well if not the user will assume the message has been sent and the spinner keeps spinning. https://bugzilla.gnome.org/show_bug.cgi?id=664564
* Use _unref instead of _free _destroy when possible.unrefXavier Claessens2011-11-161-2/+2
| | | | | | | | | | | Replace g_(ptr_)array_free (foo, TRUE) and g_hash_table_destroy with respectively g_(ptr_)array_unref (foo) and g_hash_table_unref. I used this command to generate this patch: for f in `find -name "*.c"`; do sed -i $f -re 's/g_ptr_array_free \(([^ ,]+), TRUE\)/g_ptr_array_unref \(\1\)/'; done See Danielle's blog for explanation of possible bug _free can do: http://blogs.gnome.org/danni/2011/11/16/mistakes-with-g_value_set_boxed/
* TpChat: remove support for old PropertiesWill Thompson2011-10-151-263/+5
| | | | Change notification for this is broken in the CMs *anyway*.
* TpChat: Use RoomConfig1 and Subject if availableWill Thompson2011-10-151-5/+138
| | | | Fixes https://bugzilla.gnome.org/show_bug.cgi?id=658542
* TpChat: track subject and title explicitly.Will Thompson2011-10-151-50/+37
| | | | | This will allow us to also use the new API (and, ultimately, delete the Telepathy.Properties code cleanly).
* TpChat: hide guts of Telepathy properties.Will Thompson2011-10-151-18/+103
| | | | | | | 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.
* Use g_cclosure_marshal_generic for all signalsXavier Claessens2011-09-281-6/+5
| | | | No more ugly marshallers \o/
* all: remove butterfly workarounds (bgo#612555)Jonny Lamb2011-09-261-64/+0
| | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* TpChat: don't crash with broken TpProperties implementationsWill Thompson2011-09-061-2/+2
| | | | | | | | | | | | | | | I forgot to take the Telepathy.Properties interface out of Gabble when I removed Telepathy.Properties support from it. So Empathy called ListProperties() on it anyway: fine, you might think, except the callback set priv->had_properties_list to TRUE even if the method returned an error. empathy_tp_chat_set_property() and empathy_tp_chat_get_property() assume that if priv->had_properties_list is TRUE, priv->properties is not NULL. While I hope that we can delete this code entirely pretty soon, getting this crash fix in seems like a good idea. Reviewed-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* tp-chat: rely on the factory to prepare TP_CONNECTION_FEATURE_CAPABILITIESGuillaume Desmottes2011-08-191-35/+13
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=656831
* Port to new tp-glib client factoryGuillaume Desmottes2011-08-181-1/+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_text_channel_ack_all_pending_messages_async()Guillaume Desmottes2011-07-111-35/+0
|
* Use tp-glib password API (#651055)Guillaume Desmottes2011-06-221-133/+3
|
* Check we actually have a part #1 before requesting itDanielle Madeley2011-06-081-1/+1
| | | | | We were checking echo->len >= 1, but then requesting index 1 (the second part). So if we didn't have a second part, this would quite happily blow up.
* Use tp-glib SMS high level API (#651242)Guillaume Desmottes2011-06-011-76/+0
|
* use tp_text_channel_set_chat_state_async() directlyGuillaume Desmottes2011-05-251-19/+0
|
* tp_chat_dispose: use tp_clear_object()Guillaume Desmottes2011-05-251-14/+2
|
* EmpathyTpChat: get rid of the destroy signalGuillaume Desmottes2011-05-251-39/+0
| | | | We should just use invalidated.
* EmpathyTpChat: Use a READY property instead of our own ready codeGuillaume Desmottes2011-05-251-147/+198
|
* remove empathy_tp_chat_get_connection and priv->connectionGuillaume Desmottes2011-05-251-24/+23
|
* EmpathyTpChat: inherit from TpTextChannel (#650554)Guillaume Desmottes2011-05-251-102/+73
|
* tp-chat: use the self->priv patternGuillaume Desmottes2011-05-251-386/+315
|
* 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 'ack'Jonny Lamb2011-05-171-51/+62
|\
| * tp-chat: don't assert on not finding messageJonny Lamb2011-05-161-1/+3
| | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
| * tp-chat: call acknowledge_message(s) directlyJonny Lamb2011-05-131-17/+6
| | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
| * tp-chat: rename signal to message-acknowledgedJonny Lamb2011-05-131-4/+4
| | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
| * tp-chat: give ::pending-message-removed the messageJonny Lamb2011-05-131-4/+4
| | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
| * tp-chat: add pending-message-removed signalJonny Lamb2011-05-121-0/+13
| | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
| * tp-chat: use ::pending-message-removed to update our pending queueJonny Lamb2011-05-121-20/+34
| | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
| * tp-chat: acknowledge messages using TpTextChannel APIJonny Lamb2011-05-121-25/+18
| | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* | Merge remote-tracking branch ↵Guillaume Desmottes2011-05-131-0/+3
|\ \ | |/ |/| | | 'glassrose/moving-part-functionality-to-empathy-chat-window-643295'
| * Send full message for the default chat parted on part commandChandni Verma2011-05-091-0/+3
| |
* | Fix broken logic that caused delivery report spinner to spin foreverDanielle Madeley2011-05-051-4/+5
| |
* | [tp-chat] add a counter for the number of pending messagesDanielle Madeley2011-05-051-3/+78
| | | | | | | | Requires delivery reports to include delivery-token.
* | Use dbus-error from delivery report for better errorsDanielle Madeley2011-05-051-4/+8
| |
* | Don't wait for SMS properties when there is no SMS support on the channelDanielle Madeley2011-05-051-0/+3
| |
* | Add sms-channel property to empathy-tp-chatDanielle Madeley2011-05-051-0/+77
|/
* use the TpChannel:chat-state-changed signalGuillaume Desmottes2011-04-181-7/+4
|
* use delivery report instead of Text.SendErrorGuillaume Desmottes2011-04-181-25/+50
|
* factor out handle_incoming_message()Guillaume Desmottes2011-04-181-23/+17
|
* use tp_text_channel_send_message_async()Guillaume Desmottes2011-04-181-21/+44
|
* factor out empathy_message_new_from_tp_messageGuillaume Desmottes2011-04-181-68/+15
|
* use TpTextChannel:message-sentGuillaume Desmottes2011-04-181-17/+15
|
* use TpTextChannel:message-receivedGuillaume Desmottes2011-04-181-27/+25
|
* use tp_text_channel_get_pending_messages() to get the pending messagesGuillaume Desmottes2011-04-181-57/+34
|
* empathy-tp-chat: ensure that we get a TpTextChannelGuillaume Desmottes2011-04-181-1/+1
|
* add empathy_tp_chat_get_self_contact()Guillaume Desmottes2011-04-061-0/+10
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=622118
* tp_chat_got_renamed_contacts_cb: use tp_clear_object() to unref priv->userGuillaume Desmottes2011-03-231-1/+1
| | | | If priv->user and old are both NULL, we used to crash.
* pass a preferred handler when requesting channelsGuillaume Desmottes2011-03-171-2/+3
| | | | | We want to use Empathy components when possible instead of, say, KDE ones if both are installed (#643863).
* tp_chat_received_cb: display the path of the channel in debug logGuillaume Desmottes2011-03-041-1/+2
| | | | That can be convenient when debugging to easily match Empathy and CM logs.
* Updating empathy_tp_chat_leave() function in empathy-tp-chat APIChandni Verma2011-02-251-45/+15
|
* Display typing icon in MUC contact-listChandni Verma2011-01-181-0/+9
| | | | Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=609419
* tp-chat: stop using EmpathyDispatcher to check if Conference is supportedGuillaume Desmottes2010-10-201-12/+12
|
* use TP_PROP_*Guillaume Desmottes2010-09-291-5/+5
|
* use tp-glib API for Conference (#630709)Guillaume Desmottes2010-09-291-4/+4
|
* tp_chat_group_members_changed_cb: early return if removed or added have not ↵Simon McVittie2010-09-141-2/+5
| | | | the expected length (#629549)
* use TP_USER_ACTION_TIME_* (#627165)Guillaume Desmottes2010-08-181-1/+1
|
* add g_return_val_if_fail in _new functionsGuillaume Desmottes2010-08-121-0/+3
|
* tp-chat: add 'account' propertyGuillaume Desmottes2010-08-121-5/+35
|
* tp-chat: use TpAccountChannelRequestGuillaume Desmottes2010-08-111-8/+24
|
* Merge EmpathyContact:name and *_set_alias() to EmpathyContact:aliasPhilip Withnall2010-07-221-1/+1
| | | | The "name" API was a relic of Gossip.
* tp-chat: mark scrollback messages as backlogGuillaume Desmottes2010-07-091-0/+3
|
* connect sigs using tp_g_signal_connect_objectGuillaume Desmottes2010-07-051-4/+4
|
* tp-chat: Wait that all the pending messages have been added to the pending queueGuillaume Desmottes2010-06-281-10/+30
| | | | | | | | | EmpathyChat which is using the TpChat should be sure that all the pending messages have been processed so it can rely on empathy_tp_chat_get_pending_messages() to return all the pending messages. If not, it can't check if the message it receives from the logger are actually pending ones and so will display them twice (#622729).
* add inviter arg to empathy_tp_chat_is_invitedGuillaume Desmottes2010-06-171-2/+3
|
* add empathy_tp_chat_join() and empathy_tp_chat_is_invited()Guillaume Desmottes2010-06-071-0/+49
|
* Remove EmpathyContactMonitor, it is not used anymoreXavier Claessens2010-05-261-24/+0
| | | | Fixes bug #619489
* Port to new EmpathyTpContactFactory APIXavier Claessens2010-05-261-27/+23
|
* add timestamp arg to empathy_dispatcher_create_channelSjoerd Simons2010-04-251-1/+1
|
* tp-chat: update self user if it has been renamed (#613930)Guillaume Desmottes2010-03-291-0/+6
|
* tp-chat: remove butterfly MSN HandleType=NONE workaroundJonny Lamb2010-03-111-0/+8
| | | | | | | | | | | | | | | Newer versions of butterfly use the conference interface, so their 1-1 chats don't implement the group interface. This patch changes nothing there, but now when butterfly gives a channel with TargetHandleType=NONE, it is actually a MUC, so act like that. Thanks to the addition of the conference interface with this change, we can check for its presence to decide whether this is old-school or new-school butterfly. This commit and 13a7c40c together fix bug #612461. Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* tp-chat: when seeing if a chat can be upgraded, don't worry about handle typeJonny Lamb2010-03-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | When you upgrade a gtalk 1-1 chat to a PMUC, it moves from [ChannelType=TEXT, TargetHandleType=CONTACT] to [ChannelType=TEXT, TargetHandleType=ROOM]. When you upgrade an MSN 1-1 chat to a multi-user chat in butterfly, it moves from [ChannelType=TEXT, TargetHandleType=CONTACT] to [ChannelType=TEXT, TargetHandleType=NONE]. Both of these cases have the 1-1 chat properties set as fixed properties in a class in their connection's RCC. They both also have the upgraded set of properties as above fixed, and o.fd.Tp.Channel.Interface.Conference(.DRAFT) in the appropriate Allowed_Properties array. Empathy used to look for this said channel interface in the allowed properties of a TargetHandleType=ROOM class. As butterfly uses TargetHandleType=NONE, this isn't so useful, so let's not care about the handle type to fit around both gtalk and MSN. Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* Don't try to close channels thrice.Will Thompson2010-02-261-2/+6
| | | | Fixes: #611071
* always use empathy_tp_chat_leave instead of _closeGuillaume Desmottes2010-02-201-3/+3
|
* empathy_tp_chat_leave: try to remove the self-handle instead of closing ↵Guillaume Desmottes2010-02-191-1/+35
| | | | (#610461)
* Introduce empathy_tp_chat_leaveGuillaume Desmottes2010-02-191-0/+6
|
* add API to TpChat to ack all pending messages in one goSjoerd Simons2010-02-161-0/+7
|
* Use a GSList instead of GList to store messages to ackGuillaume Desmottes2010-02-091-6/+6
|
* Refactor MUC upgrading to be a feature of TpChat->add()Danielle Madeley2009-12-211-13/+96
| | | | | Add a method to be able to tell whether a given TpChat supports you calling add() on it.
* tp-chat: set the flags of the messageGuillaume Desmottes2009-12-021-4/+9
|
* tp-chat: copy the rename messageGuillaume Desmottes2009-11-191-3/+4
|
* coding style fixesGuillaume Desmottes2009-11-191-4/+4
|
* don't mix code and variable declarationsGuillaume Desmottes2009-11-191-3/+3
|
* Handle the case where a user's id changes in a chatroomJonathon Jongsma2009-11-191-0/+95
| | | | | | | | | | | | | | | | | 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.
* tp-chat: no need to connect twice on the ChatStateChanged signalGuillaume Desmottes2009-11-191-4/+0
|
* Respect indentation style.Cosimo Cecchi2009-11-131-15/+17
|
* tp-chat: update the 'password-needed' property when password flags changesGuillaume Desmottes2009-11-131-0/+27
|
* empathy-tp-chat: add 'password-needed' propertyGuillaume Desmottes2009-11-131-0/+13
|
* add empathy_tp_chat_provide_password_{async,finish}Guillaume Desmottes2009-11-131-0/+54
|
* tp_chat_check_if_ready: deal with password protected roomGuillaume Desmottes2009-11-131-2/+10
| | | | | | The TpChat is not ready if we are fetching the password flags. But once it's fetched, the chat is ready if it's protected as we won't be able to get the members of the room.
* tp-chat: add API to check if a password is requiredGuillaume Desmottes2009-11-131-0/+36
|
* tp_chat_check_if_ready: split the test checking if the TpChat is readyGuillaume Desmottes2009-11-131-3/+8
|
* Fix topic not always shown, and add /topic command support.Xavier Claessens2009-11-011-23/+50
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=573407
* empathy-tp-chat.c: fix shadow declarationGuillaume Desmottes2009-10-211-2/+2
|
* Fallback to the contact id if present when there is no room id for ↵Olivier Le Thanh Duong2009-09-211-1/+10
| | | | empathy_tp_chat
* Check if the remote-contact is actually there before putting it on the listSjoerd Simons2009-09-141-1/+2
|
* Ack received messages from ourself.Will Thompson2009-08-311-2/+8
| | | | | | | | | | 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.
* Handle SendError signal correctly, not as a messageWill Thompson2009-08-311-7/+2
| | | | Fixes Gnome bug #593095 - Send errors are printed as normal messages.
* Use char* not EmpathyMessage in TpChat:send-errorWill Thompson2009-08-311-3/+4
| | | | | | 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.
* Merge back from masterSjoerd Simons2009-08-221-7/+10
|\
| * Only call SetChatState if the Channel supports itWill Thompson2009-08-141-7/+10
| | | | | | | | | | I'm sick of seeing spurious debug messages about this whenever I type anything into an IRC channel.
* | Merge commit 'upstream/master' into mc5Sjoerd Simons2009-07-281-13/+52
|\| | | | | | | | | | | Conflicts: libempathy-gtk/empathy-account-widget.c src/empathy.c
| * Merge branch 'part-reasons'Will Thompson2009-07-021-13/+52
| |\
| | * Style: avoid marching off the right marginWill Thompson2009-06-191-9/+10
| | |
| | * Style: use FIXME not TODOWill Thompson2009-06-191-3/+3
| | |
| | * Coding style: one declaration per line.Will Thompson2009-06-191-1/+2
| | |
| | * Include actor in members-changed if possibleWill Thompson2009-06-181-14/+51
| | |
* | | Remove last references to mission-control 4Sjoerd Simons2009-07-161-0/+1
|/ /
* / empathy-tp-chat: remove trailing tabsGuillaume Desmottes2009-06-251-1/+1
|/
* Correctly set the is_member flag when members are addedSjoerd Simons2009-05-281-1/+1
|
* empathy-tp-chat: fix leak in disposeGuillaume Desmottes2009-05-261-1/+1
|
* empathy-tp-chat: fix coding styleGuillaume Desmottes2009-05-181-6/+6
|
* Fix a theoretical race listing pending messagesWill Thompson2009-04-251-4/+4
| | | | | | | | | | | | | | | If you call ListPendingMessages before connecting to Received, the following could theoretically occur: Empathy --- ListPendingMessages --> CM Empathy <-- LPM returns --- CM <----- CM -----> Received Empathy connects to Received and thus you could miss a message. Connecting to Received before calling ListPendingMessages avoids this (mostly theoretical) bug. Signed-off-by: Will Thompson <will.thompson@collabora.co.uk>
* Fix build, probably an error while rebasingXavier Claessens2009-04-221-2/+0
|
* Use tp_connection_get_self_handle where neededXavier Claessens2009-04-221-23/+4
|
* Change EmpathyTpContactFactory API to look more like TpConnection. Add ↵Xavier Claessens2009-04-221-25/+61
| | | | | | function to get only one contact from id/handle.
* - Fix connection of "group-members-changed" signalXavier Claessens2009-04-221-14/+3
| | | | | - Do not unerf channel when calling close. Wait for it to be invalidated becasue we can still get signals between the moment we called close and the CM actually closing the channel.
* Add empathy_tp_chat_get_connection() to direct access the channel's connection.Xavier Claessens2009-04-221-0/+10
|
* Port EmpathyTpChat to new API and drop usage of EmpathyTpGroup.Xavier Claessens2009-04-221-401/+375
|
* Fix memleak in empathy_tp_chat_acknowledge_messages. Unref message after it hasLars-Peter Clausen2009-04-211-0/+1
| | | | been removed from the message queue.
* Unref TpChat's channel after emitting destroy.Will Thompson2009-04-131-3/+2
| | | | | | | | | This allows callbacks connected to "destroy" to call functions which use priv->channel to work. Fixes Gnome bug #578356. Signed-off-by: Will Thompson <will.thompson@collabora.co.uk> svn path=/trunk/; revision=2821
* Use tp_channel_get_identifier instead of inspecting channel's handle.Xavier Claessens2009-03-201-18/+1
| | | | | | From: Xavier Claessens <xclaesse@gmail.com> svn path=/trunk/; revision=2725
* Remove repeated casts to EmpathyTpChatWill Thompson2009-02-041-11/+14
| | | | | | Signed-off-by: Will Thompson <will.thompson@collabora.co.uk> svn path=/trunk/; revision=2423
* Ignore and acknowledge empty NonTextContent messages.Will Thompson2009-02-041-0/+34
| | | | | | | | | | | Delivery reports on the Messages interface show up as empty messages with the NonTextContent flag set in a Text.Received signal and in ListPendingMessages. Empathy can't do anything useful with them, so ack them and ignore them. Signed-off-by: Will Thompson <will.thompson@collabora.co.uk> svn path=/trunk/; revision=2422
* Remove some usage of EmpathyTpGroup from EmpathyTpChatXavier Claessens2009-01-131-6/+14
| | | | svn path=/trunk/; revision=2227
* Remove useless include of empathy-tp-group.hXavier Claessens2009-01-131-0/+1
| | | | svn path=/trunk/; revision=2226
* Only unref things in disposeSjoerd Simons2009-01-101-13/+4
| | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2205
* Make the dispatch operation _get_ functions not return a refSjoerd Simons2009-01-101-1/+2
| | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2188
* Don't close channels as a side-effect of disposing wrapper objectsSjoerd Simons2009-01-101-1/+6
| | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2183
* Style fixesSjoerd Simons2009-01-101-108/+114
| | | | | | Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2175
* Disconnect signal handlers from the head of the queue before destroying the ↵Sjoerd Simons2009-01-101-11/+10
| | | | | | | | queue Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2147
* Improve API of tp-chatSjoerd Simons2009-01-101-114/+210
| | | | | | | | | | | | | | | | | | * Never automagically acknowledge message, the UI should do this * Add API to acknowledge a single or a list of EmpathyMessage * Add API to get the list of pending messages * Add API to explicitly close the underlying channel * Ignore events from a channel that is being closed. Important events will be emitted when the text channel respawns. In the future we might want to make the closing of the channel async and have it emit signals untill closed. Mostly for the benefit of the logger. Needs some work in the UI bits to disconnect all signals properly when closing the window though. Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2128
* Port EmpathyContactFactory to the new singleton policy.Xavier Claessens2009-01-091-1/+1
| | | | svn path=/trunk/; revision=2113
* Create the EmpathyContactMonitor lazily if needed.Xavier Claessens2009-01-071-2/+9
| | | | svn path=/trunk/; revision=2099
* Fix the build.Xavier Claessens2009-01-071-0/+1
| | | | svn path=/trunk/; revision=2059
* Implement _get_monitor () in EmpathyTpChat.Xavier Claessens2009-01-071-0/+16
| | | | svn path=/trunk/; revision=2055
* Add some comments to the message queue codeXavier Claessens2008-07-081-2/+7
| | | | svn path=/trunk/; revision=1204
* Before emitting a message make sure the ID is also ready. Fixes bug #540360.Xavier Claessens2008-07-081-2/+4
| | | | svn path=/trunk/; revision=1203
* Fix a gcc warning complaining about a var that could be used uninitializedXavier Claessens2008-07-051-1/+1
| | | | svn path=/trunk/; revision=1200
* Emit "send-error" signal if Send() call failsXavier Claessens2008-05-221-2/+18
| | | | svn path=/trunk/; revision=1118
* Don't leak queued messages if EmpathyTpChat gets finalized.Xavier Claessens2008-05-091-0/+15
| | | | svn path=/trunk/; revision=1096
* Avoid calling ListPendingMessage if it's already running.Xavier Claessens2008-05-091-8/+11
| | | | svn path=/trunk/; revision=1090
* Keep a priv pointer in the object struct instead of using ↵Xavier Claessens2008-05-061-12/+12
| | | | | | G_TYPE_INSTANCE_GET_PRIVATE all the time. svn path=/trunk/; revision=1082
* Make use of tp-glib debug system.Xavier Claessens2008-05-011-36/+28
| | | | svn path=/trunk/; revision=1066
* Make sure we don't assume Text channel's handle_type is != NONE.Xavier Claessens2008-04-231-0/+10
| | | | svn path=/trunk/; revision=1032
* Never set the remote_contact for named rooms, do not pretend it's a p2p chat ↵Xavier Claessens2008-04-211-8/+21
| | | | | | when on a muc with only one other contact. svn path=/trunk/; revision=1015
* Fix acknoledge of messagesXavier Claessens2008-04-201-47/+74
| | | | svn path=/trunk/; revision=966
* Always set urgency hint on p2p chat windows when receiving a message.Xavier Claessens2008-04-181-6/+18
| | | | svn path=/trunk/; revision=962
* Get the chat ID only if the handle and handle_type are != 0. Get the ↵Xavier Claessens2008-04-151-15/+19
| | | | | | remote_contact from the channel's handle if it's of type CONTACT. svn path=/trunk/; revision=945
* Various fixes for chatsXavier Claessens2008-04-141-3/+4
| | | | svn path=/trunk/; revision=938
* Set "remote-contact" property even if there is a group interface.Xavier Claessens2008-04-141-0/+41
| | | | svn path=/trunk/; revision=937
* Do not take McAccount as construct param, it can be found from the TpChannelXavier Claessens2008-04-111-133/+39
| | | | svn path=/trunk/; revision=905
* Update for new APIXavier Claessens2008-04-111-1/+1
| | | | svn path=/trunk/; revision=901
* Fix get_property('ready') on EmpathyTpChat and EmpathyTpGroup (Alban Crequy).Xavier Claessens2008-04-111-0/+3
| | | | svn path=/trunk/; revision=894
* Make use of mission_control_get_tpconnection()Xavier Claessens2008-04-111-14/+3
| | | | svn path=/trunk/; revision=888
* Add a 'ready' property telling if the object is ready to use.Xavier Claessens2008-04-021-6/+26
| | | | svn path=/trunk/; revision=861
* Do not ack pending messages until they are displayedXavier Claessens2008-04-021-1/+22
| | | | svn path=/trunk/; revision=857
* Rework EmpathyChat's API, it is now a subclass of GtkBin.Xavier Claessens2008-04-021-42/+63
| | | | svn path=/trunk/; revision=840
* Fix leaks in finalizeXavier Claessens2008-04-021-0/+7
| | | | svn path=/trunk/; revision=832
* Unify EmpathyTpChatroom and EmpathyTpChat.Xavier Claessens2008-04-021-37/+129
| | | | svn path=/trunk/; revision=830
* Make use of tp-glib helpers func for GValueXavier Claessens2008-03-111-6/+3
| | | | svn path=/trunk/; revision=779
* Connect to PropertyFlagsChangedXavier Claessens2008-03-111-0/+40
| | | | svn path=/trunk/; revision=775
* Check if property is writable before setting it. Fix leaksXavier Claessens2008-03-111-0/+7
| | | | svn path=/trunk/; revision=774
* Implement _set_propertyXavier Claessens2008-03-111-1/+41
| | | | svn path=/trunk/; revision=773
* Fix usage of property iface and make use of it to get chatroom topic.Xavier Claessens2008-03-111-18/+15
| | | | svn path=/trunk/; revision=772
* Display GError's message when a call fails.Xavier Claessens2008-03-111-0/+18
| | | | svn path=/trunk/; revision=771
* Fix some warnings when getting propertiesXavier Claessens2008-03-111-8/+21
| | | | svn path=/trunk/; revision=770
* Add back "tp-chan" property, still used to inspect the channel handle.Xavier Claessens2008-03-111-9/+22
| | | | svn path=/trunk/; revision=769
* Continue property stuffXavier Claessens2008-03-111-4/+82
| | | | svn path=/trunk/; revision=768
* Do not close the channel if the channel is invalidatedXavier Claessens2008-03-111-1/+1
| | | | svn path=/trunk/; revision=767
* Prepare a new API for chat propertiesXavier Claessens2008-03-111-4/+60
| | | | svn path=/trunk/; revision=766
* Queue received messages until the sender got his alias.Xavier Claessens2008-03-111-30/+44
| | | | svn path=/trunk/; revision=763
* Refactor EmpathyTpChat to use tp-glib client codeXavier Claessens2008-03-111-454/+172
| | | | svn path=/trunk/; revision=762
* Queue received messages until the sender got his alias.Xavier Claessens2008-03-091-68/+148
| | | | svn path=/trunk/; revision=713
* Reorder functions to avoid having to declare them in the beginingXavier Claessens2008-03-091-471/+421
| | | | svn path=/trunk/; revision=712
* Update collabora copyright to 2008Xavier Claessens2008-03-031-1/+1
| | | | svn path=/trunk/; revision=688
* Do not export symbols outside the empathy_ namespace.Xavier Claessens2008-02-101-2/+2
| | | | svn path=/trunk/; revision=613
* Add back empathy_tp_chat_new_with_contactXavier Claessens2008-01-021-0/+43
| | | | svn path=/trunk/; revision=526
* Cleanup chat objects API and request a new Text channel if account getsXavier Claessens2007-12-031-43/+12
| | | | | | | | | | | | | | | | | | | | 2007-12-03 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-chat-window.c: * libempathy-gtk/empathy-chat.c: * libempathy-gtk/empathy-chat.h: * libempathy-gtk/empathy-group-chat.c: * libempathy-gtk/empathy-group-chat.h: * libempathy-gtk/empathy-private-chat.c: * libempathy-gtk/empathy-private-chat.h: * libempathy/empathy-tp-chat.c: * libempathy/empathy-tp-chat.h: * python/pyempathy/pyempathy.defs: * python/pyempathygtk/pyempathygtk.defs: * src/empathy-chat-chandler.c: Cleanup chat objects API and request a new Text channel if account gets reconnected. svn path=/trunk/; revision=461
* Conflicts:Xavier Claessens2007-12-031-61/+61
| | | | | | ChangeLog svn path=/trunk/; revision=455
* Cleanup licences and copyrights, Modules with 100% collabora code are nowXavier Claessens2007-10-181-10/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-10-18 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-log-manager.c: * libempathy/empathy-log-manager.h: * libempathy/empathy-tp-chat.c: * libempathy/empathy-contact-manager.c: * libempathy/empathy-tp-chat.h: * libempathy/empathy-contact-manager.h: * libempathy/empathy-avatar.c: * libempathy/empathy-chandler.c: * libempathy/empathy-tp-contact-list.c: * libempathy/empathy-chandler.h: * libempathy/empathy-filter.c: * libempathy/empathy-tp-roomlist.c: * libempathy/empathy-tp-contact-list.h: * libempathy/empathy-filter.h: * libempathy/empathy-tp-chatroom.c: * libempathy/empathy-tp-roomlist.h: * libempathy/empathy-contact-factory.c: * libempathy/empathy-tp-chatroom.h: * libempathy/empathy-contact-list.c: * libempathy/empathy-contact-factory.h: * libempathy/empathy-contact-list.h: * libempathy/empathy-chatroom.c: * libempathy/empathy-idle.c: * libempathy/empathy-tp-group.c: * libempathy/empathy-chatroom.h: * libempathy/empathy-idle.h: * libempathy/empathy-tp-group.h: Cleanup licences and copyrights, Modules with 100% collabora code are now relicenced to LGPL. svn path=/trunk/; revision=377
* Don't use deprecated GtkTooltips API. Add commented out lines inXavier Claessens2007-10-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* Disconnect all signals in finalize. Fixes bug #462815.Xavier Claessens2007-10-011-0/+21
| | | | | | | | | | 2007-10-01 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-tp-chat.c: Disconnect all signals in finalize. Fixes bug #462815. svn path=/trunk/; revision=347
* Completely reworked ContactList API. Fixes bug #471611, bug #467280, bug ↵Xavier Claessens2007-08-311-21/+18
| | | | | | #459540 and bug #462907. svn path=/trunk/; revision=280
* Don't forget to reverse the glist of pending messages.Xavier Claessens2007-08-061-0/+1
| | | | | | | | | | | | | 2007-08-06 Xavier Claessens <xclaesse@gmail.com> * libempathy/empathy-tp-chat.c: Don't forget to reverse the glist of pending messages. * libempathy/empathy-tp-roomlist.c: Fix wrong room list names when listing them. svn path=/trunk/; revision=232
* Initial room list support. It does not works yet.Xavier Claessens2007-07-201-2/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-07-20 Xavier Claessens <xclaesse@gmail.com> * libempathy/Makefile.am: * libempathy/empathy-tp-roomlist.h: * libempathy/empathy-tp-roomlist.c: * libempathy-gtk/empathy-chatrooms-window.c: * libempathy-gtk/empathy-new-chatroom-dialog.c: Initial room list support. It does not works yet. * libempathy-gtk/empathy-account-widget-generic.c: Add support for all types of integer and float. Fixes bug #457740 (Jamey Hicks). * libempathy/empathy-tp-chat.c: * libempathy-gtk/empathy-chat.c: If there is an error sending a message, show an error message to the user. * libempathy-gtk/empathy-accounts-dialog.c: Fix a leak, profile should be unrefed after mc_account_get_profile. * libempathy/empathy-utils.c: * libempathy/empathy-utils.h: * libempathy/empathy-tp-chatroom.c: * libempathy/empathy-tp-group.h: * libempathy/empathy-tp-group.c: * src/empathy.c: Rename empathy_get_channel_id() to empathy_inspect_channel(). We now have empathy_inspect_handle(). * po/POTFILES.in: * libempathy/empathy-tp-contact-list.c: Set all contacts from salut protocol to the "Local Network" group. * libempathy/empathy-idle.c: Fix NetworkManager support. * libempathy/empathy-chatroom.h: Fix indentation. * libempathy-gtk/empathy-status-icon.c: * libempathy-gtk/empathy-ui-utils.c: * libempathy-gtk/empathy-ui-utils.h: - Iconify main window to the status icon like in rhythmbox. Fixes bug #458106 (Jaap A. Haitsma). - Rounded avatars. Fixes bug #457992 (Raphael Slinckx) * Makefile.am: Fix distcheck for gtkdoc (Vincent Untz) * data/empathy.desktop.in.in: Change application description (Jaap A. Haitsma). svn path=/trunk/; revision=190
* Fix a leaked ref.Xavier Claessens2007-07-011-100/+172
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-06-30 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/empathy-account-widget-generic.c: Fix a leaked ref. * src/empathy.c: If we get a chatroom we have to create an EmpathyTpChatroom object. * src/Makefile.am: Fix build system, programs links to libempathy-gtk and libempathy. * configure.ac: libempathy does not depends on libgnome-vfs. * libempathy-gtk/empathy-status-icon.c: * libempathy-gtk/empathy-chat.c: * libempathy/empathy-tp-chat.c: * libempathy/empathy-tp-chat.h: * libempathy/empathy-filter.c: * libempathy/empathy-filter.h: * libempathy/empathy-filter.xml: * libempathy/Makefile.am: Filter incoming text channels and make status icon flash when there we receive a new message. Dispatch the channel only when we get a message and the user click on the icon. svn path=/trunk/; revision=175
* Rename all filenames starting with "gossip" by "empathy", change namespaceXavier Claessens2007-06-221-39/+39
| | | | | | | | | | | | | 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
* New window for viewing logs.Xavier Claessens2007-06-141-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-06-13 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/Makefile.am: * libempathy-gtk/gossip-log-window.glade: * libempathy-gtk/gossip-log-window.h: * libempathy-gtk/gossip-log-window.c: * libempathy/empathy-log-manager.c: * libempathy/empathy-log-manager.h: * libempathy-gtk/gossip-chat.c: * libempathy-gtk/empathy-main-window.c: New window for viewing logs. * libempathy-gtk/gossip-chat-view.c: Do not use smooth scroll when resizing the view. * libempathy-gtk/gossip-contact-list-store.c: Do not set active contacts when creating the store, and when contact groups changed. * src/empathy-main.c: Fix warning when using command-line options. * libempathy/empathy-tp-contact-list.c: Check if we have an aliasing iface before setting the alias of a contact. * TODO: Updated. * data/jabber.profile: Ignore ssl errors by default. This is a security vulnerability but we don't really have the choice. * libempathy/gossip-contact.h: * libempathy/gossip-contact.c: Add a "is-user" property to know if it's our self contact. * libempathy/gossip-message.h: * libempathy/gossip-message.c: Add a "receiver" property like that we have our self contact for nick highlight. svn path=/trunk/; revision=148
* Add all properties described by TP spec for the Text channel onXavier Claessens2007-06-031-42/+298
| | | | | | | | | | | | | | | 2007-06-03 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/gossip-group-chat.c: * libempathy-gtk/gossip-private-chat.c: * libempathy-gtk/gossip-chat.c: * libempathy-gtk/gossip-chat.h: * libempathy/empathy-tp-chat.c: Add all properties described by TP spec for the Text channel on EmpathyTpChat. Make use of "name" and "subject" properties in GossipGroupChat. svn path=/trunk/; revision=118
* Fix warning when selecting all accounts.Xavier Claessens2007-05-311-55/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-05-31 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/gossip-account-chooser.c: Fix warning when selecting all accounts. * src/empathy-accounts-main.c: * libempathy-gtk/empathy-status-icon.c: * libempathy-gtk/gossip-accounts-dialog.h: * libempathy-gtk/gossip-accounts-dialog.c: * libempathy-gtk/gossip-preferences.h: * libempathy-gtk/gossip-preferences.c: Set parent window. * libempathy-gtk/empathy-main-window.c: Implement favorite chatroom menu and fix a leak. * libempathy-gtk/Makefile.am: * libempathy/Makefile.am: * libempathy/gossip-chatroom.c: * libempathy/gossip-chatroom.h: * libempathy/gossip-chatroom-manager.c: * libempathy/gossip-chatroom-manager.h: * libempathy/gossip-chatroom-manager.dtd: * libempathy-gtk/gossip-chatrooms-window.glade: * libempathy-gtk/gossip-chatrooms-window.c: * libempathy-gtk/gossip-chatrooms-window.h: New files to implement favorite chatrooms and a window to show them. * libempathy-gtk/gossip-chat.c: Fix tooltip leaked. * libempathy-gtk/gossip-chat-window.h: * libempathy-gtk/gossip-chat-window.c: Do not use deprecated gtk_object_sink(). Implement favorite chatroom features. Find a chat by comparing the account AND the chat ID. * src/empathy-chat-main.c: * libempathy/empathy-tp-chat.h: * libempathy/empathy-tp-chat.c: * libempathy/gossip-utils.h: * libempathy/gossip-utils.c: empathy_tp_chat_get_id() returns the Text channel's name. The chat ID is unique only for a specified account. * libempathy/empathy-tp-contact-list.c: Fix some leaks and add a FIXME comment for a leak not yet fixed. * TODO: Would be cool to have a glade catalog for libempathy-gtk. svn path=/trunk/; revision=100
* Preset the server only for jabber protocol to conference.server. ThisXavier Claessens2007-05-251-7/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-05-25 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/gossip-new-chatroom-dialog.c: Preset the server only for jabber protocol to conference.server. This fixes a warning. * libempathy-gtk/gossip-group-chat.h: * libempathy-gtk/gossip-group-chat.c: gossip_group_chat_set_topic() is a public function. * libempathy-gtk/empathy-images.h: * libempathy-gtk/empathy-main-window.glade: * libempathy-gtk/empathy-status-icon.glade: Make use of empathy-new-message icon name. * libempathy-gtk/gossip-contact-list-store.c: By default we sort by contacts names. * libempathy-gtk/gossip-chat.c: Do not display composing state if it's our own contact that is composing. * src/empathy-chat-main.c: * libempathy/empathy-tp-chat.c: * libempathy/empathy-tp-chat.h: Make possible to build the id based on the account and the channel's name. For private chats that means the contact's id. * libempathy-gtk/gossip-chat-window.c: Un-comment the code related to chatrooms that is now implemented. We can now Show/Hide contact list for group chats, DnD contact on the window to begin a discussion, join a new chatroom. * libempathy-gtk/gossip-account-chooser.c: Add a FIXME message. * data/22x22/empathy-new-message.png: * data/22x22/empathy-proto-irc.png: * data/22x22/Makefile.am: * data/32x32/empathy-proto-irc.png: * data/32x32/Makefile.am: * data/gtalk.profile: * data/16x16/empathy-new-message: * data/16x16/empathy-message-new.png: * data/16x16/empathy-proto-irc.png: * data/16x16/Makefile.am: * data/scalable/empathy-proto-irc.svg: * data/scalable/Makefile.am: * data/irc.profile: Adding icons for empathy-new-message and IRC protocol. Make use of the irc icon in the irc profile. svn path=/trunk/; revision=91
* Fix indentation Fix not returning the contact in tp_contact_list_find()Xavier Claessens2007-05-201-1/+1
| | | | | | | | | | | | | | | 2007-05-19 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/Makefile.am: * libempathy/empathy-tp-chat.c: * libempathy/empathy-contact-manager.c: * libempathy/empathy-contact-list.c: Fix indentation * libempathy/empathy-tp-contact-list.c: Fix not returning the contact in tp_contact_list_find() * TODO: Updated. svn path=/trunk/; revision=75
* EmpathyContactList is now an interface implemented byXavier Claessens2007-05-191-49/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * libempathy-gtk/gossip-private-chat.h: * libempathy-gtk/gossip-contact-list.c: * libempathy-gtk/gossip-chat.c: * libempathy-gtk/gossip-chat.h: * libempathy-gtk/gossip-chat-window.c: * libempathy-gtk/Makefile.am: * libempathy-gtk/gossip-chat-view.c: * libempathy-gtk/gossip-private-chat.c: * src/empathy-chat-main.c: * libempathy/gossip-utils.c: * libempathy/gossip-contact.h: * libempathy/empathy-tp-chat.c: * libempathy/gossip-utils.h: * libempathy/empathy-contact-manager.c: * libempathy/empathy-contact-manager.h: * libempathy/empathy-tp-contact-list.c: * libempathy/empathy-tp-contact-list.h: * libempathy/empathy-tp-chatroom.c: * libempathy/empathy-tp-chatroom.h: * libempathy/empathy-contact-list.c: * libempathy/empathy-contact-list.h: * libempathy/Makefile.am: * libempathy/gossip-contact.c: EmpathyContactList is now an interface implemented by EmpathyTpContactList, EmpathyContactManager and EmpathyTpChatroom. GossipContactList use that interface to display a treeview. svn path=/trunk/; revision=72
* When a new text channel arrives, check if there is no existing GossipChatXavier Claessens2007-05-141-13/+30
| | | | | | | | | | | | | | | 2006-05-13 Xavier Claessens <xclaesse@gmail.com> * libempathy-gtk/gossip-chat-window.c: * libempathy-gtk/gossip-chat-window.h: * src/empathy-chat-main.c: * libempathy/empathy-tp-chat.c: * libempathy/empathy-tp-chat.h: When a new text channel arrives, check if there is no existing GossipChat object for it. svn path=/trunk/; revision=56
* [darcs-to-svn @ gossip_mission_control_new() returns a MissionControl ↵Xavier Claessens2007-05-131-3/+4
| | | | | | sigleton object and update throbber state when there is connecting accounts] svn path=/trunk/; revision=47
* [darcs-to-svn @ many changes]Xavier Claessens2007-05-091-34/+60
| | | | svn path=/trunk/; revision=35
* [darcs-to-svn @ Remove EmpathySession and move all programs into src/]Xavier Claessens2007-05-031-12/+14
| | | | svn path=/trunk/; revision=28
* [darcs-to-svn @ Connect accounts in empathy-launcher, not in ↵Xavier Claessens2007-05-011-4/+8
| | | | | | empathy-contact-list] svn path=/trunk/; revision=14
* [darcs-to-svn @ Save/restore window geometry]Xavier Claessens2007-04-271-0/+58
| | | | svn path=/trunk/; revision=6
* [darcs-to-svn @ Set Collabora copyright for files I created/modified]Xavier Claessens2007-04-261-1/+3
| | | | svn path=/trunk/; revision=4
* [darcs-to-svn @ initial import]Xavier Claessens2007-04-261-0/+474
svn path=/trunk/; revision=2