aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
Commit message (Collapse)AuthorAgeFilesLines
* 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>
| * log-manager: port to new tp-glib account APIJonny Lamb2009-10-242-11/+11
| | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
| * dispatcher: port to new tp-glib account APIJonny Lamb2009-10-241-27/+48
| | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
| * contact: port to new tp-glib account APIJonny Lamb2009-10-242-17/+13
| | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
| * contact-manager: port to new tp-glib account APIJonny Lamb2009-10-241-22/+46
| | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
| * chatroom: port to new tp-glib account APIJonny Lamb2009-10-242-13/+14
| | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
| * chatroom-manager: port to new tp-glib account APIJonny Lamb2009-10-242-41/+27
| | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
| * account-settings: port to new tp-glib account APIJonny Lamb2009-10-242-77/+77
| | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
| * Add empathy_idle_account_is_just_connected function.Jonny Lamb2009-10-242-0/+70
| | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
| * idle: port to new tp-glib account APIJonny Lamb2009-10-241-20/+22
| | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
| * Add empathy_account_manager_get_accounts_connected function.Jonny Lamb2009-10-242-0/+36
| | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
| * Add empathy_get_account_for_connection function.Jonny Lamb2009-10-242-1/+36
| | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
| * Add empathy_idle_get_requested_presence function.Jonny Lamb2009-10-242-12/+44
| | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
| * Removed EmpathyAccount{,Manager}.Jonny Lamb2009-10-235-2604/+0
| | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* | dispatcher_request_handles_cb: use request_data->dispatcher to get the self ↵Guillaume Desmottes2009-10-261-1/+1
|/ | | | | | | pointer We don't pass a weak pointer to tp_cli_connection_call_request_handles so we can't rely on it (#599612).
* Enable extra error CFLAGS in libempathy/Guillaume Desmottes2009-10-231-0/+1
|
* empathy-utils.c: fix casting issuesGuillaume Desmottes2009-10-221-6/+8
|
* empathy-tp-contact-list.c: fix shadow declaration and uint comparaisonGuillaume Desmottes2009-10-221-6/+6
|
* empathy-tp-contact-factory.c: fix casting issueGuillaume Desmottes2009-10-221-1/+1
|
* empathy-time.c: fix shadow declarationGuillaume Desmottes2009-10-221-4/+4
|
* empathy-status-presets.c: fix casting issuesGuillaume Desmottes2009-10-221-10/+10
|
* empathy-log-store-empathy.c: fix casting issuesGuillaume Desmottes2009-10-221-12/+13
|
* empathy-irc-network-manager.c: fix casting issuesGuillaume Desmottes2009-10-221-22/+29
|
* empathy-dispatcher.c: fix shadow declarationsGuillaume Desmottes2009-10-221-123/+122
|
* empathy-contact-groups.c: fix casting issuesGuillaume Desmottes2009-10-221-10/+11
|
* empathy-connection-managers.c: fix shadow declarationsGuillaume Desmottes2009-10-221-14/+14
|
* empathy-chatroom-manager.c: fix casting issuesGuillaume Desmottes2009-10-221-8/+12
|
* empathy-account-settings.c: fix uint comparaisonGuillaume Desmottes2009-10-221-4/+4
|
* empathy-account-settings: fix CLAMP usageGuillaume Desmottes2009-10-221-7/+9
| | | | | CLAMP syntax is (x, low, high), not (low, x, high). Also add some cast to fix compiler warnings.
* empathy-tp-chat.c: fix shadow declarationGuillaume Desmottes2009-10-211-2/+2
|
* empathy-contact: cast data pointersGuillaume Desmottes2009-10-211-2/+4
|
* empathy-account-manager.c: fix uint comparaisonGuillaume Desmottes2009-10-211-1/+1
|
* empathy-irc-server: the port is a guintGuillaume Desmottes2009-10-211-1/+1
|
* Stop building libempathy{,-gtk} as a shared library. Closes bug #599086Jonny Lamb2009-10-212-70/+46
| | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* Ensure we don't try to register invalid bus namesSjoerd Simons2009-10-201-5/+6
|
* Unset pending_call explicitly instead of implicitlySjoerd Simons2009-10-201-2/+11
|
* Merge commit 'maiku/bug_598332'Guillaume Desmottes2009-10-191-20/+33
|\
| * Move destruction of connections from finalize to dispose.Mike Ruprecht2009-10-151-8/+12
| | | | | | | | | | | | | | Code can potentially be run between the dispose and finalize methods. This moves the destruction of connections and subsequently outstanding_requests into the dispose function so the request callback can't be fired between unreffing the EmpathyDispatcher and cancelling the pending request.
| * Remove the weak_object parameter when requesting channels.Mike Ruprecht2009-10-151-8/+10
| | | | | | | | | | | | | | | | Use the EmpathyDispatcher pointed to in the DispatcherRequestData instead of the weak_object. Outstanding channel requests were being cancelled in the EmpathyDispatcher's finalize method. This had the potential to double-cancel the requests when the weak_object (EmpathyDispatcher) was unreffed, causing a segmentation fault.
| * Cancel outstanding channel requests if connection to the CM is lost.Mike Ruprecht2009-10-141-4/+11
| | | | | | | | | | | | | | | | | | | | When the connection to a given channel manager was lost (such as it crashed), any outstanding channel requests were freed, but then the request callback fired with an invalid (already freed) DispatcherRequestData parameter. It subsequently used this invalid data and crashed. This patch cancels all outstanding channel requests when they are freed so the callback isn't called with invalid data. Fixes #598332
* | empathy_account_settings_get_tp_params: don't raise an error if tp_protocol ↵Guillaume Desmottes2009-10-191-1/+9
| | | | | | | | is NULL
* | empathy-account-settings: don't cache the TpConnectionManagerProtocolGuillaume Desmottes2009-10-191-6/+12
| | | | | | | | | | | | The result of tp_connection_manager_get_protocol isn't garanteed to be valid after the main loop re-entered. We can't cache it in the account settings and so have to request it each time we need it.
* | idle: work around the case if the session doesn't tell us when we go idle ↵Jonny Lamb2009-10-171-6/+17
| | | | | | | | | | | | (fixes bug #594619) Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* | connectivity: small fix to a debug messageJonny Lamb2009-10-171-2/+2
| | | | | | | | Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
* | copy empathy_signal_connect_weak from telepathy-gabbleGuillaume Desmottes2009-10-152-0/+90
|/
* remove empathy_account_manager_remove from header; function has been removedGuillaume Desmottes2009-10-051-3/+0
|
* remove empathy_tp_contact_list_can_add from header; function has been removedGuillaume Desmottes2009-10-051-1/+0
|
* Revert "Revert "Remove deprecated call to g_mapped_file_free()""Xavier Claessens2009-09-241-8/+1
| | | | This reverts commit 0343c43f77ab5e59c614af0c0fa60d518d78a774.
* Merge commit 'istaz/handle_none'Xavier Claessens2009-09-211-1/+10
|\
| * 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
* | Set the ice-udp capability directly as wellSjoerd Simons2009-09-201-1/+3
| |
* | idle: wait for the account manager to be ready before setting initial stateJonny Lamb2009-09-181-2/+29
| | | | | | | | | | | | | | | | | | | | Also, if we can get the global presence from the account manager straight away (in _init), then don't bother signalling the change. Otherwise, do signal the initial setting so things like the presence chooser and status icon will be updated with the initial presence. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* | Iterate avatar tokens with a GHashTableIterWill Thompson2009-09-171-30/+19
| |
* | Get rid of the last two _run_ calls in EmpathyWill Thompson2009-09-171-31/+29
| | | | | | | | | | | | | | | | Hooray! Also, don't try to get known avatar tokens or capabilities if the CM doesn't support them. This reduces the outrageous Debug spam when I connect to a Haze account or (worse) a big IRC channel. Fixes Gnome bug #532737
* | Fix indentation of previous patchXavier Claessens2009-09-161-1/+3
| |
* | empathy_avatar_new takes ownership of arguments. Do not free filename.Xavier Claessens2009-09-161-2/+2
| |
* | Only handle manually text channels.Cosimo Cecchi2009-09-161-0/+6
| |
* | Dispatch existing channels once we initialize the connection.Cosimo Cecchi2009-09-161-0/+21
|/
* Fix long lines.Cosimo Cecchi2009-09-151-6/+8
|
* Always call _ensure_channel for text chats.Cosimo Cecchi2009-09-151-10/+42
| | | | So we can catch opened channels as well, e.g. if we crashed.
* Release the busname on disposal.Cosimo Cecchi2009-09-151-4/+31
|
* Plug some leaksCosimo Cecchi2009-09-142-0/+5
|
* Assert that we get a non-null account passed when creating a contact for a logSjoerd Simons2009-09-141-0/+1
|
* When getting messages for a file, pass the account as we already know itSjoerd Simons2009-09-141-14/+4
|
* Check if the remote-contact is actually there before putting it on the listSjoerd Simons2009-09-141-1/+2
|
* dispatcher_request_failed: check if conn_data is not NULLGuillaume Desmottes2009-09-101-2/+7
| | | | | | | | | | Trace attached on lp #392678 seems to indicate that the priv->connections hash table doesn't have a ConnectionData associated with the connection. A possible explanation could be that this connection has been invalidated before the RequestChannel call is terminated. Check if ConnectionData so Empathy won't crash in such case.
* empathy_account_settings_get_uint32: check if empathy_account_settings_get ↵Guillaume Desmottes2009-09-091-0/+2
| | | | returned NULL (#594653)
* chatroom-manager: add a ready propertyJonny Lamb2009-09-081-0/+18
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* tp-contact-factory: allow _get_from_handles to call with no handles.Jonny Lamb2009-09-071-0/+5
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* chatroom-manager: only parse xml file once the account manager is readyJonny Lamb2009-09-061-1/+31
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* Add stream-closed signal to EmpathyCallHandler for when a stream is closedOlivier Crête2009-09-021-0/+16
|
* Fix long lines.Cosimo Cecchi2009-09-011-2/+4
|
* Be sure that FindChannelRequest has a ref to the DispatcherCosimo Cecchi2009-09-011-1/+1
| | | | It has to own a reference, as it will unref when free-ing the struct.
* Don't set empty values for the default EmpathyHandlerCosimo Cecchi2009-09-012-0/+14
| | | | | | | | | This implies the following: - have an empty default handler when the Dispatcher is used directly with the singleton - autogenerate the name for the default handler - set priv->filters in the handler to an empty GPtrArray in this case, as that can't be NULL.
* Always try to use the Requests interface before calling RequestChannelSjoerd Simons2009-09-011-10/+43
|
* Add display name for "gtalk"Cosimo Cecchi2009-08-311-0/+1
|
* Fix a long lineCosimo Cecchi2009-08-311-1/+2
|
* Use empathy_protocol_icon_name()Cosimo Cecchi2009-08-311-1/+1
|
* Fall back to the default icon if an empty icon name is setCosimo Cecchi2009-08-311-5/+6
|
* Always set the icon name on account creation.Cosimo Cecchi2009-08-311-5/+2
|
* Implement setting icon name to the account and to the settings.Cosimo Cecchi2009-08-314-2/+166
|
* Be consistent with EmpathyMessage style.Will Thompson2009-08-311-8/+16
|
* Ack received messages from ourself.Will Thompson2009-08-313-2/+44
| | | | | | | | | | 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.
* Add functions on the dispatcher to add/remove extra handlersSjoerd Simons2009-08-312-0/+81
|
* Add a simple abstraction for implementing handlersSjoerd Simons2009-08-315-122/+560
| | | | | Implement an EmpathyHandler object which can be used to easily add extra Client.Handler heads on D-Bus.
* Merge branch 'do-say-me-think'Will Thompson2009-08-282-15/+59
|\ | | | | | | Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
| * Don't parse message in EmpathyMessage:body setterWill Thompson2009-08-281-15/+2
| | | | | | | | | | | | | | | | | | This fixes a bug where the message (Type_Action, "/me wooo yay") is printed as " ! wjt woo yay" rather than as " ! wjt /me woo yay". This also fixes Gnome bug #593101 (Empathy exits sending empty /me message), which was caused by this deleted code walking off the end of the string "/me".
| * Add empathy_message_new_from_entry()Will Thompson2009-08-282-0/+57
| | | | | | | | | | | | This will be the sole place that user input is parsed for special commands like /me; the parsing logic will be removed from EmpathyMessage and chat_send().
* | Only unref the AccountManager if it's not NULLCosimo Cecchi2009-08-281-1/+3
|/
* When not connected don't apply !offline states but save themSjoerd Simons2009-08-281-5/+7
| | | | | | When we're not connected to a network don't allow setting the status to anything else then offline, but when a status is set do save it so it can be applied as soon as soon as we get network connectivity
* ->connected always has the right status, so use that instead of specialcasingSjoerd Simons2009-08-281-8/+1
|
* Only assume connected when we have neither Connman or NMSjoerd Simons2009-08-281-1/+1
|
* Slightly improve debug infoSjoerd Simons2009-08-281-1/+2
|
* Merge commit 'jtellier/reconnect-account'Guillaume Desmottes2009-08-272-0/+50
|\
| * - Added a utility function (empathy_account_reconnect_async) to easilyJonathan Tellier2009-08-262-0/+50
| | | | | | | | | | | | | | reconnect an account. - When we apply changes to an account, instead of disconnecting and reconnecting it, we use the new empathy_account_reconnect_async function.
* | Remove libmissioncontrol depsPierre-Luc Beaudoin2009-08-271-2/+2
| | | | | | | | and remove trailing spaces