aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tp-chat.c
Commit message (Collapse)AuthorAgeFilesLines
* 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