aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
Commit message (Collapse)AuthorAgeFilesLines
* empathy_message_equal: always use the timestamp+body (#621797)Guillaume Desmottes2010-06-171-4/+0
| | | | | | There is no reason to only use this new heuristic only in the TPL case. Furthermore, we're about to make TPL mandatory so it's good to have it more tested.
* add empathy_tp_chat_join() and empathy_tp_chat_is_invited()Guillaume Desmottes2010-06-072-0/+52
|
* dispatch-operation: fix a race by waiting that TpCall is readyGuillaume Desmottes2010-06-071-0/+25
| | | | | | | The call handler constructor rely on the TpCall to be ready (to fetch the EmpathyContact associated with the call). If things are going fast (by skipping the approving of the call and handling it right away for example) it may no be ready yet.
* dispatch-operation: factor out channel_wrapper_readyGuillaume Desmottes2010-06-071-5/+13
|
* add empathy_tp_call_get_statusGuillaume Desmottes2010-06-072-0/+10
|
* coding style fixesGuillaume Desmottes2010-05-271-1/+1
|
* Make chatroom manager retain room's "always_urgent" stateJonas Bonn2010-05-272-1/+16
| | | | | | | | | | | | This patch adds the always_urgent property to the list of chatroom properties that are saved by the chatroom manager for the favorite chatrooms. This allows Empathy to bring favorite chatrooms back up with the same notification properties they had the last time they were used. This seems reasonable as a room marked as "Notify Always" will most likely be of such a character that this would be a reasonable setting every time the room is joined.
* Add option to make chatroom "always urgent" (#611894)Jonas Bonn2010-05-272-1/+50
| | | | | | | | | | | | | | | | Often a user wants to be immediately notified of posts to a chatroom even when the post does not address them directly by name. This patch adds a room option to make all posts to the room "urgent", meaning that the system-specific urgency action should be taken -- notification, window urgency hint, etc. Two specific use cases for when one may want this: i) Low-traffic rooms (so that one does not have to go check the room all the time) ii) Error-logging room (room to which errors from some other system(s) are logged) The "always urgent" option is off by default when joining a room.
* Add function ensure_chatroom to chatroom managerJonas Bonn2010-05-272-0/+26
| | | | | This function tries to find an existing chatroom, but if it fails to do so it creates a new room and returns that instead.
* fix 0-byte logfile crash (#619736)Robert McQueen2010-05-271-6/+12
|
* Remove EmpathyContactMonitor, it is not used anymoreXavier Claessens2010-05-267-542/+0
| | | | Fixes bug #619489
* Move empathy_tp_contact_factory_set_alias() to EmpathyContactXavier Claessens2010-05-264-48/+39
|
* Make clear that contacts_table doesn't keep any refXavier Claessens2010-05-261-1/+1
|
* Port to new EmpathyTpContactFactory APIXavier Claessens2010-05-266-62/+36
|
* Kill EmpathyTpContactFactory object. Its API stays as helper code o ↵Xavier Claessens2010-05-262-340/+57
| | | | | | | | | n TpConnection. Note that it uses empathy_contact_dup_from_tp_contact() internally, so we are sure to really have at most one EmpathyContact object per TpContact Fixes bug #619488
* Add empathy_contact_dup_from_tp_contact()Xavier Claessens2010-05-262-0/+45
| | | | This API make sure to return a singleton EmpathyContact for any TpContact
* Make use of TP_CONTACT_FEATURE_AVATAR_DATAXavier Claessens2010-05-263-266/+41
| | | | Fixes bug #579812
* Stop getting avatar requirements in EmpathyTpContactFactoryXavier Claessens2010-05-261-133/+0
|
* initialize a GError pointerGuillaume Desmottes2010-05-191-1/+1
|
* use port 8001 to connect to freenode irc (#618401)Brian Curtis2010-05-171-0/+1
|
* If there is no publish list, don't auto-add people to itSjoerd Simons2010-05-081-0/+3
|
* Merge branch 'timestamp-615976'Guillaume Desmottes2010-05-048-26/+105
|\
| * define EMPATHY_DISPATCHER_CURRENT_TIME rather than using G_MAXINT64 directlyGuillaume Desmottes2010-05-041-0/+1
| |
| * Set the user action time when the user approves stuffSjoerd Simons2010-05-042-0/+14
| |
| * dispatch-operation: add user-action-time propertyGuillaume Desmottes2010-04-253-9/+49
| |
| * add timestamp arg to empathy_dispatcher_create_channelSjoerd Simons2010-04-256-9/+16
| |
| * add timestamp arg to empathy_dispatcher_join_mucSjoerd Simons2010-04-252-3/+5
| |
| * add timestamp arg to empathy_dispatcher_chat_with_contact(_id)Sjoerd Simons2010-04-252-6/+13
| |
| * dispatcher: add timestamp attribute to DispatcherRequestDataSjoerd Simons2010-04-252-4/+12
| |
* | No need of a contact factory to set locationXavier Claessens2010-05-022-31/+0
| |
* | use TP_PROP_* constantsGuillaume Desmottes2010-04-271-10/+11
| |
* | use tp_value_array_unpackGuillaume Desmottes2010-04-271-3/+3
| |
* | tp-contact-factory: stop tracking capabilitiesGuillaume Desmottes2010-04-271-339/+0
| | | | | | | | This is done in empathy-contact using TpContact:capabilities now.
* | request the TP_CONTACT_FEATURE_CAPABILITIES featureGuillaume Desmottes2010-04-271-0/+1
| |
* | contact: get capabilities from TpContact if available (#579813)Guillaume Desmottes2010-04-271-0/+82
| |
* | tp-file: include netinet/in.hJasper Lievisse Adriaanse2010-04-271-0/+1
| | | | | | | | The storage size of 'addr' isn't known without netinet/in.h (#616859).
* | irc-networks.xml: properly spell 'freenode' (#616711)Guillaume Desmottes2010-04-261-1/+1
|/
* iterate_on_channels: continue instead of returning if a channel doesn't matchGuillaume Desmottes2010-04-201-3/+3
| | | | We are iterating on channels so we should check the remaining channels...
* remove empathy_dispatch_operation_new_with_wrapperGuillaume Desmottes2010-04-191-13/+2
| | | | It's not needed any more.
* dispatcher: don't check for Requests when fetching conn propertiesGuillaume Desmottes2010-04-191-8/+3
|
* dispatcher: stop supporting old style channel requestingGuillaume Desmottes2010-04-191-142/+15
| | | | Requests is mandatory now and we use the CD any way.
* call cb with an error if dispatcher_chat_with_contact* failsGuillaume Desmottes2010-04-191-1/+11
|
* dispatcher_connection_invalidated_cb: terminate pending requestsGuillaume Desmottes2010-04-191-0/+23
|
* empathy_dispatcher_chat_with_contact: check if connection_data is NULLGuillaume Desmottes2010-04-191-0/+6
| | | | | If the connection has been invalidated, it has been removed from priv->connections so we should check to avoid using a NULL pointer (#615970).
* remove empathy_signal_connect_weak (#613583)Guillaume Desmottes2010-04-092-91/+0
|
* libempathy/empathy-idle.c: use tp_g_signal_connect_object instead of ↵Guillaume Desmottes2010-04-091-2/+2
| | | | empathy_signal_connect_weak
* libempathy/empathy-dispatcher.c: use tp_g_signal_connect_object instead of ↵Guillaume Desmottes2010-04-091-2/+2
| | | | empathy_signal_connect_weak
* libempathy/empathy-contact-manager.c: use tp_g_signal_connect_object instead ↵Guillaume Desmottes2010-04-091-6/+6
| | | | of empathy_signal_connect_weak
* libempathy/empathy-account-settings.c: use tp_g_signal_connect_object ↵Guillaume Desmottes2010-04-091-2/+2
| | | | instead of empathy_signal_connect_weak
* look for the right key when checking if altitude is setGuillaume Desmottes2010-04-081-1/+1
|
* use tp_asv_set_doubleGuillaume Desmottes2010-04-081-2/+2
|
* geocode_cb: create a new location hash table instead of modifying the ↵Guillaume Desmottes2010-04-081-12/+21
| | | | | | | | | current one The location we receive from tp-glib should be considered as read-only as we don't have any guarantee about the way keys and values are freed. Should hopefully fix (#615135).
* geocode_cb: don't update location if we didn't get the full positionGuillaume Desmottes2010-04-081-17/+15
|
* update_geocode: don't search for position if we already have lat or lonGuillaume Desmottes2010-04-081-3/+3
| | | | | If contact publishes his position, it's fair to assume it publishes lat and lon.
* don't start geocode search if the address is emptyGuillaume Desmottes2010-04-081-3/+7
|
* unref avatar and location in dispose rather than finalizeGuillaume Desmottes2010-04-081-6/+12
|
* factor out iteration on channelsGuillaume Desmottes2010-04-081-28/+18
|
* Call EnsureChannel with an 'infinite' timeout so we don't have to catch list ↵Guillaume Desmottes2010-04-081-11/+4
| | | | channels in NewChannels any more
* pass properties hash table to tp_contact_list_group_add_channelGuillaume Desmottes2010-04-081-29/+9
|
* Use Requests.Channels property instead of the deprecated ListChannels()Guillaume Desmottes2010-04-081-38/+51
|
* Use NewChannels signal to catch group channels (#614236)Guillaume Desmottes2010-04-081-20/+12
|
* new_channels_cb: don't early return if TargetHandleType != TP_HANDLE_TYPE_LISTGuillaume Desmottes2010-04-081-12/+10
|
* tp-contact-list: stop disconnecting NewChannelsGuillaume Desmottes2010-04-081-19/+1
| | | | We are going to use it to get group channels as well.
* fix coding styleGuillaume Desmottes2010-04-071-112/+127
|
* don't define update_geocode if geoclue is not enabledGuillaume Desmottes2010-04-071-5/+5
|
* Get location update from TpContact (#599162)Guillaume Desmottes2010-04-062-4/+21
|
* contact-factory: stop managing locationsGuillaume Desmottes2010-04-061-76/+0
|
* move tp_contact_factory_geocode to empathy-contactGuillaume Desmottes2010-04-062-154/+156
|
* pass Location feature to ContactsGuillaume Desmottes2010-04-061-0/+1
|
* remove empathy_tp_contact_factory_set_avatarGuillaume Desmottes2010-04-062-65/+0
| | | | This is not needed any more.
* empathy-idle: stop using tp_dbus_daemon_dupGuillaume Desmottes2010-04-011-1/+7
| | | | It has been deprecated.
* empathy-handler: stop using tp_get_busGuillaume Desmottes2010-04-011-1/+1
| | | | It has been deprecated.
* empathy_presence_get_default_message: return a string for ↵Guillaume Desmottes2010-03-311-1/+2
| | | | TP_CONNECTION_PRESENCE_TYPE_UNKNOWN
* fix indentationGuillaume Desmottes2010-03-311-2/+2
|
* tp-contact-list: add members of 'stored' as membersGuillaume Desmottes2010-03-311-0/+24
| | | | This allow us to display contacts with subscriptio='none' (#539765).
* got_added_members_cb: check if contact is already in the hash before adding itGuillaume Desmottes2010-03-311-0/+3
| | | | | | empathy_tp_contact_factory_get_from_handles is async, so if the contact has already been added when it returns the contact objects there is no point to try to re-add it twice.
* add members of 'publish' as members of the TpContactListGuillaume Desmottes2010-03-311-4/+24
|
* pass handles to add_to_members instead of contact objectsGuillaume Desmottes2010-03-311-33/+42
|
* auto-accept pending call in tp_contact_list_subscribe_group_members_changed_cbGuillaume Desmottes2010-03-311-11/+22
| | | | | So we don't have to wait to have the contact and can group them to do only on AddMembers call.
* factor out remove_from_member_if_neededGuillaume Desmottes2010-03-311-2/+10
| | | | | Call it that way because we are about to add some check before removing a contact from members.
* factor out add_to_membersGuillaume Desmottes2010-03-311-9/+20
|
* tp-contact-list: Improve hash table descriptionsGuillaume Desmottes2010-03-312-4/+19
|
* properly cast GArray contentGuillaume Desmottes2010-03-301-1/+1
|
* empathy_tp_call_leave: allocate the array on the stackGuillaume Desmottes2010-03-301-7/+2
|
* empathy_call_handler_stop_call: use empathy_tp_call_leave rather than ↵Guillaume Desmottes2010-03-301-1/+1
| | | | | | empathy_tp_call_close This will gracefully hang up calls (#610477).
* add empathy_tp_call_leaveGuillaume Desmottes2010-03-302-0/+48
|
* Merge branch 'people-nearby-fake-group-613558'Danielle Madeley2010-03-301-19/+0
|\
| * Make People Nearby into a Fake Group like Ungrouped and FavouritesDanielle Madeley2010-03-241-19/+0
| |
* | disconnect NewChannels signal once we got all the list channels we care aboutGuillaume Desmottes2010-03-301-1/+19
| |
* | tp-contact-list: watch for list channels announced in NewChannels signalsGuillaume Desmottes2010-03-301-0/+47
| | | | | | | | | | | | If ensuring list channels fails (for example because the server is slow and the D-Bus call timeouts before CM fetches the roster), we have a chance to get them later. (#612949)
* | allow got_list_channel to be called more than once for the same channelGuillaume Desmottes2010-03-301-2/+6
| | | | | | | | Also allow to pass other list channel such as 'deny' for example.
* | factor out got_list_channelGuillaume Desmottes2010-03-301-19/+27
| |
* | empathy_dispatcher_find_requestable_channel_classes: allow handle_type being 0Guillaume Desmottes2010-03-301-2/+0
| | | | | | | | | | This allows us to check if channel type with HandleType=None are supported (for example roomlist channels).
* | telepathy-glib sucks, need to send stream error from the main threadOlivier Crête2010-03-291-2/+13
| |
* | Return a telepathy error if the source can't be addedOlivier Crête2010-03-291-3/+8
| |
* | Send stream error when the src pad can't be linkedOlivier Crête2010-03-291-3/+8
| |
* | tp-chat: update self user if it has been renamed (#613930)Guillaume Desmottes2010-03-291-0/+6
| |
* | fallback to JID if alias is emptyFelix Kaser2010-03-291-5/+8
| | | | | | | | if the alias is empty, contact_get_name should fallback to the jabber id. this fixes bug #614162
* | remove empathy_log_store_empathy_get_dirGuillaume Desmottes2010-03-292-10/+0
|/
* empathy-contact-manager: no need to pass object as user_data and weak_objectDanielle Madeley2010-03-241-2/+2
|
* empathy-contact-manager: remove unrequired for loop when unpacking structDanielle Madeley2010-03-241-14/+5
|
* idle: Only restore state but not status message when getting back from idle ↵Brian Curtis2010-03-151-14/+3
| | | | (#566832)
* stop exporting FAVOURITE_CONTACTS_CFLAGS and FAVOURITE_CONTACTS_LIBSGuillaume Desmottes2010-03-151-2/+0
|
* check that logger is not NULL before unrefing itGuillaume Desmottes2010-03-151-1/+2
|
* fix hash table leakGuillaume Desmottes2010-03-151-1/+2
| | | | | priv->favourites takes the reference of the newly created hash table so we don't have to ref it.
* factor out add_contacts_to_favouritesGuillaume Desmottes2010-03-151-31/+30
|
* Unref contact returned by empathy_contact_list_get_membersGuillaume Desmottes2010-03-151-1/+2
| | | | empathy_contact_list_get_members return a list of reffed contacts.
* log an error if {Add,Remove}FavouriteContact failedGuillaume Desmottes2010-03-151-2/+22
|
* document the favorites hash tableGuillaume Desmottes2010-03-151-0/+2
|
* coding style fixesGuillaume Desmottes2010-03-153-25/+27
|
* Rebase the favourites support upon the telepathy-logger instead of a ↵Travis Reitter2010-03-153-5/+316
| | | | specially-named favourites group.
* Cut out the concept of a special Favourites groupTravis Reitter2010-03-152-13/+31
|
* Add a favorite contacts build option and make Moblin support automatically ↵Travis Reitter2010-03-152-0/+4
| | | | turn it on.
* Add support for marking contacts as favorites (which gives them a highlightedTravis Reitter2010-03-152-0/+24
| | | | star next to their name and adds them to the top of the contact list)
* Migrate butterfly logs to remove the network ID suffix.Jonny Lamb2010-03-132-0/+12
| | | | | | Bug #612519 contains much more information about this change. Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* Merge branch 'butterfly-conference-misc'Jonny Lamb2010-03-112-3/+12
|\
| * 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>
| * dispatcher: allow not caring about handle type when looking up RCCsJonny Lamb2010-03-111-2/+3
| | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* | chatroom-manager: Save correct room nameJonas Bonn2010-03-091-1/+1
|/ | | | | | | | When writing out the room name to the persistance file, the room name should properly be gotten with the get_room function. This bug has probably not bitten too many users as the remote room name and the favorite chatroom name usually are usually the same; however, if the user were to change the favorite chatroom name then this bug would become apparent.
* empathy_account_settings_set_display_name_async: don't do anything if not neededGuillaume Desmottes2010-03-031-0/+7
|
* factor out empathy_connect_new_accountGuillaume Desmottes2010-03-022-0/+41
|
* Merge commit 'ka/empathy-tpl-20100225-ifdef'Guillaume Desmottes2010-02-268-9/+158
|\
| * TPL Enabling patch, all-in-one.Cosimo Alfarano2010-02-268-9/+158
| | | | | | | | By default TPL is disabled, use --enable-tpl configure option to enable it.
* | Don't try to close channels thrice.Will Thompson2010-02-261-2/+6
|/ | | | Fixes: #611071
* Cope with tp-glib calling the callback in syncSjoerd Simons2010-02-251-16/+29
|
* No reason to get Channels from connections, that's MCs jobSjoerd Simons2010-02-251-27/+0
|
* Merge branch 'requests'. Fixes: #598905Sjoerd Simons2010-02-255-159/+231
|\
| * Not using the weak object anymore, get the dispatcher request data from ↵Sjoerd Simons2010-02-251-3/+3
| | | | | | | | request data
| * Use a appropriate unique name for Empathy unique appSjoerd Simons2010-02-251-2/+0
| |
| * Assert that the account existsSjoerd Simons2010-02-251-0/+2
| |
| * Small coding style fixSjoerd Simons2010-02-251-1/+2
| |
| * Set ourselves as the preferred handler if there is a callbackSjoerd Simons2010-02-251-2/+6
| |
| * If we're asked to handle a channel twice, assume it's due to user actionSjoerd Simons2010-02-251-2/+15
| |
| * Add a debug message for when errors are signaledSjoerd Simons2010-02-251-0/+2
| |
| * Add a convenience function to get the busname of a handlerSjoerd Simons2010-02-252-1/+11
| |
| * Output the path before trying to register itSjoerd Simons2010-02-251-1/+1
| |
| * Replace tabs with spacesSjoerd Simons2010-02-251-2/+2
| |
| * Remove dead code related to outstanding channelsSjoerd Simons2010-02-251-96/+2
| | | | | | | | | | | | | | | | With the move to the ChannelDispatcher channels we've requested will either not be dispatched through HandleChannels (because we used the old way of directly requesting it on the MC) or will get passed after we've started the request and can thus be dispatched right away. The concept of oustanding channel is thus obsolete.
| * Don't ever drop requested channelsSjoerd Simons2010-02-241-11/+0
| | | | | | | | | | | | | | Before moving to the ChannelDispatcher we got channels either through the NewChannel(s) signal or as a result of requesting a channel from the CM. Now that we've moved to the ChannelDispatcher, we only get channels that we should handle through HandleChannels. So we shouldn't filter any of them.
| * Check if channels we requested satisfy requestsSjoerd Simons2010-02-241-18/+51
| |
| * Request channels from the CD instead of the CMSjoerd Simons2010-02-241-27/+141
| |
* | empathy_account_settings_has_account: cope with priv->account being NULLGuillaume Desmottes2010-02-241-0/+3
|/ | | | | priv->account is not garantee to be set so empathy_account_settings_has_account shouldn't assume it is (#610942).
* define EMPATHY_CLIENT_NAMEGuillaume Desmottes2010-02-221-0/+2
|
* always use empathy_tp_chat_leave instead of _closeGuillaume Desmottes2010-02-202-4/+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-192-0/+8
|
* Use TpDebugSender to publish debug messages (#607330)Jonny Lamb2010-02-174-366/+8
|
* Merge branch 'ack-all'Sjoerd Simons2010-02-162-0/+8
|\
| * add API to TpChat to ack all pending messages in one goSjoerd Simons2010-02-162-0/+8
| |
* | dispatcher_connection_new_requested_channel: fix a use-after-free crashGuillaume Desmottes2010-02-161-2/+8
|/ | | | | | | | | If an error occurs when requesting the channel, we call dispatcher_request_failed which as the side effect of destroying the DispatcherRequestData. When calling dispatcher_flush_outstanding_operations we used to deference this pointer. Fixes this crash by using the "self" pointer instead and reffing it to be sure it stays valid.
* Separate the accounts dialog into its own program which works with the Gnome ↵Travis Reitter2010-02-121-1/+6
| | | | | | | | preferences and control center. Where available, this also supports embedding the preferences dialog in the "extensible-shell" control center (currently in development, but likely to be mainlined soon).
* Use the 'phone' icon for the 'sms' protocolGuillaume Desmottes2010-02-101-0/+2
|
* Use the SIP icon for the SIMPLE protocolGuillaume Desmottes2010-02-091-1/+4
| | | | SIMPLE is a SIP extension.
* Use a GSList instead of GList to store messages to ackGuillaume Desmottes2010-02-092-7/+7
|
* Don't assume that removing a user from 'stored' will remove them from all listsDanielle Madeley2010-02-081-2/+0
| | | | | | This doesn't appear to be correct for all CMs (at least, it doesn't appear to be correct for Gabble). At least it doesn't appear incorrect to attempt to remove the contact from the other lists anyway (#608974).
* Ensure that the EmpathyIdle is not used in account_manager_ready_cb after ↵Travis Reitter2010-02-081-3/+16
| | | | | | being finalized Fixes #608813
* notify_ready_cb: use g_simple_async_result_complete instead of _in_idleGuillaume Desmottes2010-01-221-1/+1
|
* replace empathy_connection_managers_call_when_ready by ↵Guillaume Desmottes2010-01-222-51/+38
| | | | prepare_{async_finish} functions
* add empathy_connection_managers_call_when_readyGuillaume Desmottes2010-01-222-0/+73
| | | | That's easier to use than checking if ready and connecting a callback.
* remove empathy-tube-handler.c and empathy-tube-dispatchGuillaume Desmottes2010-01-194-355/+0
|
* stop dispatching tube channels (#599159)Guillaume Desmottes2010-01-191-1/+0
| | | | Tube applications should use the ChannelDispatcher.
* Changed the return string of empathy_presence_get_default_message to ↵G.Balaji2010-01-181-1/+1
| | | | | | Invisible so that we display Invisible to the user. This fix bug #603472
* Support silent build rules with automake 1.11Javier Jardón2010-01-181-8/+7
| | | | | | | | | | Support silent build rules, requires at least automake-1.11. Disable by either passing --disable-silent-rules to configure or passing V=1 to make. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=585364 Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* Rephrase the TP_CONNECTION_STATUS_REASON_REQUESTED message to make it ↵Guillaume Desmottes2010-01-151-1/+1
| | | | clearer (#606510)
* No need to get RequestableChannelClasses if ContactCapability is implementedGuillaume Desmottes2010-01-141-15/+23
| | | | We use it only as a fallback if it's not.
* factor out channel_classes_to_capabilitiesGuillaume Desmottes2010-01-141-64/+58
|
* Use ContactCapabilities to get audio/video caps (#599163)Guillaume Desmottes2010-01-141-1/+16
|
* Stop using the old Capabilities iface if ContactCapabilities is implementedGuillaume Desmottes2010-01-141-20/+20
|
* Claim that contacts support stream tube if it's announced in their contact ↵Guillaume Desmottes2010-01-141-7/+10
| | | | capabilities
* Claim that contacts support FT if it's announced in their contact ↵Guillaume Desmottes2010-01-141-0/+91
| | | | capabilities (#599164)
* Don't assume contacts support FT if ContactCapabilities is implementedGuillaume Desmottes2010-01-141-4/+19
|
* Call xmlCleanupParser() only once when exiting (#600693)Guillaume Desmottes2010-01-133-3/+0
| | | | | | | This function should only be called when exiting the application as it cleans up the memory allocated by the library itself. Thanks to Lennart for pointing this out.
* listen for the "account-validity-changed" so new account are added to the ↵Guillaume Desmottes2010-01-121-0/+35
| | | | dispatcher (#605689)
* store status-changed sig handler in a hash tableGuillaume Desmottes2010-01-121-0/+24
|
* factor out connect_accountGuillaume Desmottes2010-01-121-7/+14
|
* empathy_dispatcher_join_muc: assert than connection_data is not NULLGuillaume Desmottes2010-01-121-0/+1
|
* connect to val-changed signal in contact managerFelix Kaser2010-01-111-0/+17
| | | | | new accounts have to be registered for status-changed signals, that can only be done if the account-validity-changed signal is handled. fixes bug #604628
* hash_job_done: set hash_data->error to NULL when cleaning itGuillaume Desmottes2010-01-071-0/+1
| | | | This avoid to try to clean it at second time in hash_data_free (#606220).
* account-settings: use empathy_signal_connect_weak to connect the ready ↵Guillaume Desmottes2009-12-261-2/+2
| | | | | | | signal on managers If for some reason this signal is fired after the settings has been destroyed, we shouldn't crash.
* libempathy/empathy-irc-network-manager.c: Fix typo similiar -> similarLaurent Bigonville2009-12-231-1/+1
|
* add empathy_account_settings_get_tp_protocolGuillaume Desmottes2009-12-222-0/+11
|
* Refactor MUC upgrading to be a feature of TpChat->add()Danielle Madeley2009-12-212-13/+97
| | | | | Add a method to be able to tell whether a given TpChat supports you calling add() on it.
* Don't destroy the request properties, EmpathyDispatcher now owns themDanielle Madeley2009-12-211-0/+13
| | | | | This is not the same as tp-glib semantics (e.g. tp_..._call_create_channel). Add some docs to EmpathyDispatcher to explain this, for the next person.
* tp-call: set debug domain to voipGuillaume Desmottes2009-12-181-1/+1
|
* add empathy_tp_call_has_initial_videoGuillaume Desmottes2009-12-162-0/+24
|
* empathy_protocol_icon_name: use the Yahoo icon for Yahoo Japan (#604567)Guillaume Desmottes2009-12-151-0/+4
|
* refactor friendly status reason messagesFelix Kaser2009-12-152-0/+38
| | | | the friendly status reason can be asked from empathy-utils
* connect the 'group-members-changed' on groups once they are readyGuillaume Desmottes2009-12-111-59/+81
| | | | | | | | | The previous code was racy. If the 'group-members-changed' was fired before the channel was ready, the group didn't exist yet in Empathy and so the contact didn't appear in the group. We fix that by connecting this signal once the group channel is ready and adding current members manually.
* Use EnsureChannel to get Stored/Publish/Subscribe channelsXavier Claessens2009-12-111-134/+47
|
* use tp_asv_newGuillaume Desmottes2009-12-101-15/+5
|
* tp_contact_list_remove: add FIXME about potential raceGuillaume Desmottes2009-12-101-0/+2
|
* tp_contact_list_remove: remove from the stored list if possible (#604181)Guillaume Desmottes2009-12-091-0/+8
|
* tp-contact-list: request the 'stored' channelGuillaume Desmottes2009-12-091-1/+66
|
* Don't highlight scrollback messages (#602288)Guillaume Desmottes2009-12-021-0/+8
|
* tp-chat: set the flags of the messageGuillaume Desmottes2009-12-021-4/+9
|
* empathy-message: add message flagsGuillaume Desmottes2009-12-022-0/+39
|
* contact_manager_status_changed_cb: ignore disconnected accountGuillaume Desmottes2009-11-301-0/+4
| | | | | There is no point to start tracking an account which is about to be removed. Furthemore, this avoid to re-add previoulsy invalidated connections (#603361).
* add 'voip' debug domainGuillaume Desmottes2009-11-282-0/+2
|
* Add Test debug domainXavier Claessens2009-11-252-0/+2
|
* empathy_tp_contact_factory_get_from_{id,handle} shouldn't pass the ref of ↵Guillaume Desmottes2009-11-231-0/+7
| | | | | | | the contact to the cb This match the behaviour of empathy_tp_contact_factory_get_from_{ids,handles} and tp_connection_get_contacts_by_handle.
* ft-handler: contact_factory_contact_cb: ref the contactGuillaume Desmottes2009-11-231-1/+1
| | | | | empathy_tp_contact_factory_get_from_handle is not supposed to give a reference to the callback.
* tp-contact-factory: document that ↵Guillaume Desmottes2009-11-231-0/+2
| | | | empathy_tp_contact_factory_get_from_{ids,handles} don't give a ref to the cb
* idle: make empathy_idle_get_status staticGuillaume Desmottes2009-11-192-19/+18
| | | | | It's not used anymore and other components should use the account manager directly.
* 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-192-0/+104
| | | | | | | | | | | | | | | | | 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
|
* remove empathy_idle_{get,set}_flash_stateGuillaume Desmottes2009-11-182-49/+0
|
* We should ensure, not create muc channelsSjoerd Simons2009-11-171-0/+1
|
* log_store_empathy_search_hit_new: don't unref accountsGuillaume Desmottes2009-11-171-1/+0
| | | | tp_account_manager_get_valid_accounts does *not* ref the accounts (#600800).
* add empathy_tp_call_get_connection_managerGuillaume Desmottes2009-11-162-0/+23
|
* contact.h: remove empathy_contact_hash as it's not defined (#580254)Guillaume Desmottes2009-11-141-1/+0
|
* Respect indentation style.Cosimo Cecchi2009-11-132-23/+25
|
* 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-132-0/+63
|
* 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-132-0/+38
|
* tp_chat_check_if_ready: split the test checking if the TpChat is readyGuillaume Desmottes2009-11-131-3/+8
|
* libempathy/Makefile.am: sort filesGuillaume Desmottes2009-11-131-14/+14
|
* empathy-tp-contact-factory: ensure that ↵Guillaume Desmottes2009-11-121-1/+18
| | | | empathy_tp_contact_factory_get_from_handle always return an error if the contact hasn't been created
* empathy_dispatch_operation_dispose: fix crash when disconnecting the ready ↵Guillaume Desmottes2009-11-121-5/+3
| | | | | | | signal We were trying to disconnect the wrong signal and it should be disconnected before unrefing channel_wrapper.
* Warn if accessing connection status before AM is readyDanielle Madeley2009-11-101-0/+5
|
* empathy-tp-call: we are not sending or receiving video if the video stream ↵Guillaume Desmottes2009-11-101-0/+6
| | | | doesn't exist
* TpContactFactory: wait that the connection is ready before using itGuillaume Desmottes2009-11-091-13/+35
|
* dispatcher_init_connection_if_needed: wait that the connection is ready ↵Guillaume Desmottes2009-11-091-11/+32
| | | | before using it (#600713)
* [EmpathyIdle] track whether the AccountManager is ready, warn if it is notDanielle Madeley2009-11-091-0/+16
|
* empathy_call_handler_request_cb: notify when the tp-call property is setGuillaume Desmottes2009-11-051-0/+1
|
* TpCall: add {audio,video}-stream-error signalsGuillaume Desmottes2009-11-051-0/+58
|
* empathy-dispatch-operation: ensure that the operation stays alive while ↵Guillaume Desmottes2009-11-041-2/+12
| | | | tp_channel_call_when_ready is running
* empathy-dispatch-operation: ensure that the operation stays alive while ↵Guillaume Desmottes2009-11-041-0/+12
| | | | tp_connection_call_when_ready is running (#600551)
* Merge branch 'irc-command'Xavier Claessens2009-11-044-80/+61
|\
| * Move /me and /say support from EmpathyMessage to EmpathyChat.Xavier Claessens2009-11-012-57/+0
| | | | | | | | Also make commands not case sensitive and use g_ascii_isspace to detect spaces.
| * Fix topic not always shown, and add /topic command support.Xavier Claessens2009-11-012-23/+61
| | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=573407
* | Merge branch 'accountz'Jonny Lamb2009-11-0226-2888/+518
|\ \ | |/ |/|
| * log-store-empathy: refer to "make logs async" bugJonny Lamb2009-10-301-1/+1
| | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
| * dispatcher: refer to EmpathyHandler bugJonny Lamb2009-10-301-1/+1
| | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
| * idle: added a comment to explain _is_just_connectedJonny Lamb2009-10-301-0/+3
| | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
| * idle: don't hardcode 10 seconds as the "just connected" timeJonny Lamb2009-10-301-1/+5
| | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
| * idle: add comment about the connect_times hash table typesJonny Lamb2009-10-301-0/+2
| | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
| * idle: updated commentJonny Lamb2009-10-301-2/+4
| | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
| * utils: remove FIXMEJonny Lamb2009-10-301-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | Although still true, the comment above the function will suffice and this can't really be changed without lots of making-async of other places in Empathy. I also don't think this is a problem in practice as everywhere in Empathy we use the account manager should have a _prepare called beforehand. Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
| * all: log error messages if preparing the account manager failsJonny Lamb2009-10-305-10/+36
| | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
| * contact-manager, dispatcher: renamed _new_connection_cb to _status_changed_cbJonny Lamb2009-10-252-6/+6
| | | | | | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=599169#c2 Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
| * idle: use the TpAccount pointer as key to the hash table, and remove values ↵Jonny Lamb2009-10-251-12/+8
| | | | | | | | | | | | | | | | on disconnect https://bugzilla.gnome.org/show_bug.cgi?id=599169#c2 Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
| * tp-roomlist: port to new tp-glib account APIJonny Lamb2009-10-242-8/+6
| | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
| * log-store: port to new tp-glib account APIJonny Lamb2009-10-242-19/+19
| | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
| * log-store-empathy: port to new tp-glib account APIJonny Lamb2009-10-241-17/+19
| | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>