aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
Commit message (Collapse)AuthorAgeFilesLines
* 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
* | Only request presence when the account is enabled (#593161).Cosimo Cecchi2009-08-271-9/+12
| |
* | Ensure all accounts when getting all propertiesCosimo Cecchi2009-08-261-9/+71
| | | | | | | | | | | | This introduces a check on the number of accounts, as MC5 could come back advertising less accounts than we have. In that case, we find the one which have gone and remove them from our cache.
* | Implement empathy_account_refresh_properties()Cosimo Cecchi2009-08-262-7/+20
| |
* | Fix long lines.Cosimo Cecchi2009-08-261-4/+5
| |
* | Restart MC5 when it quits or crashes (#593018).Cosimo Cecchi2009-08-261-28/+47
|/
* Request presence again when an account is enabledCosimo Cecchi2009-08-261-0/+17
|
* Fix alignmentXavier Claessens2009-08-251-1/+1
|
* Add human-readable names for Yahoo! Japan and Facebook ChatWill Thompson2009-08-251-0/+2
| | | | | | These are both marked for translation. Obviously the first should be localized in its target market, and the latter probably wants translating too (perhaps "Clavardage de Facebook"?).
* Call gettext for translated protocol namesWill Thompson2009-08-251-10/+16
|
* Wait for the connection to be ready before requesting contacts from it.Jonny Lamb2009-08-251-6/+22
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* Make empathy_protocol_name_to_display_name publicCosimo Cecchi2009-08-252-0/+31
|
* Fix a crash caused by tp-glib emitting invalidated in disposeSjoerd Simons2009-08-251-20/+11
| | | | | | | When an TpProxy is disposed tp-glib emits the invalidated signal. This meant that when EmpathyAccount disposed its TpConnection as a result of the account manager saying the connection was gone, the invalidated signal was emitted. As a result of which the TpConnection would get disposed again...
* Fallback to setting the global presence to offline if no account has a ↵Jonny Lamb2009-08-251-0/+1
| | | | | | better presence. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* Free the allocated dirname after usageSjoerd Simons2009-08-241-0/+2
|
* Fix several coding style issuesSjoerd Simons2009-08-241-1/+1
|
* Don't use a custom function to build the log dirSjoerd Simons2009-08-241-2/+1
|
* Have log_store_empathy_search_hit_new lookup accounts properlySjoerd Simons2009-08-241-7/+17
|
* Split out the account name to dirname translationSjoerd Simons2009-08-241-6/+14
|
* Ensure that the connection data is setup when handle channelsSjoerd Simons2009-08-241-3/+16
|
* Add a new _ensure_account APISjoerd Simons2009-08-243-4/+17
| | | | | Have one call which only gets the account if it exists and a different one which creates the account on the given path when needed.
* Make the dir names for the logs look nicerSjoerd Simons2009-08-241-4/+6
|
* Don't override the display_name when creating the accountSjoerd Simons2009-08-241-6/+0
|
* Return the correct object when querying the dbus-daemon propertySjoerd Simons2009-08-241-2/+1
|
* Remove unused finalizeSjoerd Simons2009-08-241-16/+0
|
* Add a new DEBUG domain for the mc4 account importerArnaud Maillet2009-08-242-0/+2
|
* Use better avatar location: ~/.cache/<cm>/<protocol>/<token>Xavier Claessens2009-08-241-7/+3
|
* Fix some leaks in _settings_discardSjoerd Simons2009-08-231-13/+13
| | | | | Prevent leaking the unset parameter names when unsetting the array. Also use it as a general utility function in other parts of the code
* If the parameter wasn't known return NULL for the dbus signatureSjoerd Simons2009-08-231-0/+3
|
* First part of an overhaul of the accounts dialogJonathan Tellier2009-08-223-13/+48
|
* Make the set_enabled API asyncCosimo Cecchi2009-08-222-16/+48
|
* Fix long lineCosimo Cecchi2009-08-221-1/+2
|
* Remove the parameters from the unset pool when we set them againCosimo Cecchi2009-08-221-1/+35
|
* Merge back from masterSjoerd Simons2009-08-2211-244/+592
|\
| * Revert "Don't use deprecated g_mapped_file_free()"Xavier Claessens2009-08-211-1/+1
| | | | | | | | This reverts commit 5a89234873d5c709ee852e2b43220f9c8c0a2033.
| * Don't use deprecated g_mapped_file_free()Kjartan Maraas2009-08-211-1/+1
| |
| * Merge branch 'connman'Jonny Lamb2009-08-207-128/+547
| |\
| | * empathy-connectivity: assume status is offline if GetState failsJonny Lamb2009-08-201-0/+2
| | | | | | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
| | * empathy-connectivity: add ConnMan supportJonny Lamb2009-08-201-2/+120
| | | | | | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
| | * configure: enable connectivity building with nm, connman, auto or noneJonny Lamb2009-08-201-2/+4
| | | | | | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
| | * empathy-connectivity: small style fixJonny Lamb2009-08-201-4/+1
| | | | | | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
| | * all: save the signal id and use that to disconnect from the signalJonny Lamb2009-08-202-7/+12
| | | | | | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
| | * empathy-connectivity: only send the new state in the state-change signalJonny Lamb2009-08-192-13/+23
| | | | | | | | | | | | | | | | | | | | | | | | It can be assumed that the old state was always the opposite to the new state, because the signal is only ever fired if the new state differs from the old state. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
| | * empathy-idle: no need to listen to use-connJonny Lamb2009-08-191-20/+0
| | | | | | | | | | | | | | | | | | | | | | | | If use_conn is set to FALSE, then EmpathyConnectivity will signal status-change with a new online status of TRUE, which will do the right thing. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
| | * empathy-connectivity: remove dispose_runJonny Lamb2009-08-191-10/+0
| | | | | | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
| | * empathy-connectivity: be sure to get the initial presence on initJonny Lamb2009-08-191-0/+4
| | | | | | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
| | * empathy-connectivity: init priv->connected to TRUE if we're not using NMJonny Lamb2009-08-191-4/+2
| | | | | | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
| | * empathy-connectivity: remove useless assignmentJonny Lamb2009-08-191-1/+0
| | | | | | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
| | * empathy-connectivity: stop using the name "manager" when I mean "connectivity"Jonny Lamb2009-08-191-5/+5
| | | | | | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
| | * empathy-connectivity: disconnect from NM state change signal on finalizeJonny Lamb2009-08-191-0/+2
| | | | | | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
| | * empathy-connectivity: only unref the NM client if we're using NMJonny Lamb2009-08-191-0/+2
| | | | | | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
| | * empathy-connectivity: handle changes in use_conn correctlyJonny Lamb2009-08-191-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | This is so that the presence chooser can get notified if use_conn turns to false, and NM still reports us as offline, so it can become sensitive again. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
| | * empathy-idle: disconnect from connectivity signals before unreffingJonny Lamb2009-08-191-16/+21
| | | | | | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
| | * empathy-idle: use EmpathyConnectivity instead of messing with NM itselfJonny Lamb2009-08-192-126/+49
| | | | | | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
| | * empathy-connectivity: add signals, properties and hook in NMJonny Lamb2009-08-192-12/+186
| | | | | | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
| | * empathy-debug: add connectivity debug keyJonny Lamb2009-08-182-0/+2
| | | | | | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
| | * empathy-connectivity: add initial stubsJonny Lamb2009-08-183-0/+196
| | | | | | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>