Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge commit 'istaz/handle_none' | Xavier Claessens | 2009-09-21 | 1 | -1/+10 |
|\ | |||||
| * | Fallback to the contact id if present when there is no room id for ↵ | Olivier Le Thanh Duong | 2009-09-21 | 1 | -1/+10 |
| | | | | | | | | empathy_tp_chat | ||||
* | | Set the ice-udp capability directly as well | Sjoerd Simons | 2009-09-20 | 1 | -1/+3 |
| | | |||||
* | | idle: wait for the account manager to be ready before setting initial state | Jonny Lamb | 2009-09-18 | 1 | -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 GHashTableIter | Will Thompson | 2009-09-17 | 1 | -30/+19 |
| | | |||||
* | | Get rid of the last two _run_ calls in Empathy | Will Thompson | 2009-09-17 | 1 | -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 patch | Xavier Claessens | 2009-09-16 | 1 | -1/+3 |
| | | |||||
* | | empathy_avatar_new takes ownership of arguments. Do not free filename. | Xavier Claessens | 2009-09-16 | 1 | -2/+2 |
| | | |||||
* | | Only handle manually text channels. | Cosimo Cecchi | 2009-09-16 | 1 | -0/+6 |
| | | |||||
* | | Dispatch existing channels once we initialize the connection. | Cosimo Cecchi | 2009-09-16 | 1 | -0/+21 |
|/ | |||||
* | Fix long lines. | Cosimo Cecchi | 2009-09-15 | 1 | -6/+8 |
| | |||||
* | Always call _ensure_channel for text chats. | Cosimo Cecchi | 2009-09-15 | 1 | -10/+42 |
| | | | | So we can catch opened channels as well, e.g. if we crashed. | ||||
* | Release the busname on disposal. | Cosimo Cecchi | 2009-09-15 | 1 | -4/+31 |
| | |||||
* | Plug some leaks | Cosimo Cecchi | 2009-09-14 | 2 | -0/+5 |
| | |||||
* | Assert that we get a non-null account passed when creating a contact for a log | Sjoerd Simons | 2009-09-14 | 1 | -0/+1 |
| | |||||
* | When getting messages for a file, pass the account as we already know it | Sjoerd Simons | 2009-09-14 | 1 | -14/+4 |
| | |||||
* | Check if the remote-contact is actually there before putting it on the list | Sjoerd Simons | 2009-09-14 | 1 | -1/+2 |
| | |||||
* | dispatcher_request_failed: check if conn_data is not NULL | Guillaume Desmottes | 2009-09-10 | 1 | -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 Desmottes | 2009-09-09 | 1 | -0/+2 |
| | | | | returned NULL (#594653) | ||||
* | chatroom-manager: add a ready property | Jonny Lamb | 2009-09-08 | 1 | -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 Lamb | 2009-09-07 | 1 | -0/+5 |
| | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> | ||||
* | chatroom-manager: only parse xml file once the account manager is ready | Jonny Lamb | 2009-09-06 | 1 | -1/+31 |
| | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> | ||||
* | Add stream-closed signal to EmpathyCallHandler for when a stream is closed | Olivier Crête | 2009-09-02 | 1 | -0/+16 |
| | |||||
* | Fix long lines. | Cosimo Cecchi | 2009-09-01 | 1 | -2/+4 |
| | |||||
* | Be sure that FindChannelRequest has a ref to the Dispatcher | Cosimo Cecchi | 2009-09-01 | 1 | -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 EmpathyHandler | Cosimo Cecchi | 2009-09-01 | 2 | -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 RequestChannel | Sjoerd Simons | 2009-09-01 | 1 | -10/+43 |
| | |||||
* | Add display name for "gtalk" | Cosimo Cecchi | 2009-08-31 | 1 | -0/+1 |
| | |||||
* | Fix a long line | Cosimo Cecchi | 2009-08-31 | 1 | -1/+2 |
| | |||||
* | Use empathy_protocol_icon_name() | Cosimo Cecchi | 2009-08-31 | 1 | -1/+1 |
| | |||||
* | Fall back to the default icon if an empty icon name is set | Cosimo Cecchi | 2009-08-31 | 1 | -5/+6 |
| | |||||
* | Always set the icon name on account creation. | Cosimo Cecchi | 2009-08-31 | 1 | -5/+2 |
| | |||||
* | Implement setting icon name to the account and to the settings. | Cosimo Cecchi | 2009-08-31 | 4 | -2/+166 |
| | |||||
* | Be consistent with EmpathyMessage style. | Will Thompson | 2009-08-31 | 1 | -8/+16 |
| | |||||
* | Ack received messages from ourself. | Will Thompson | 2009-08-31 | 3 | -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 message | Will Thompson | 2009-08-31 | 1 | -7/+2 |
| | | | | Fixes Gnome bug #593095 - Send errors are printed as normal messages. | ||||
* | Use char* not EmpathyMessage in TpChat:send-error | Will Thompson | 2009-08-31 | 1 | -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 handlers | Sjoerd Simons | 2009-08-31 | 2 | -0/+81 |
| | |||||
* | Add a simple abstraction for implementing handlers | Sjoerd Simons | 2009-08-31 | 5 | -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 Thompson | 2009-08-28 | 2 | -15/+59 |
|\ | | | | | | | Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | ||||
| * | Don't parse message in EmpathyMessage:body setter | Will Thompson | 2009-08-28 | 1 | -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 Thompson | 2009-08-28 | 2 | -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 NULL | Cosimo Cecchi | 2009-08-28 | 1 | -1/+3 |
|/ | |||||
* | When not connected don't apply !offline states but save them | Sjoerd Simons | 2009-08-28 | 1 | -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 specialcasing | Sjoerd Simons | 2009-08-28 | 1 | -8/+1 |
| | |||||
* | Only assume connected when we have neither Connman or NM | Sjoerd Simons | 2009-08-28 | 1 | -1/+1 |
| | |||||
* | Slightly improve debug info | Sjoerd Simons | 2009-08-28 | 1 | -1/+2 |
| | |||||
* | Merge commit 'jtellier/reconnect-account' | Guillaume Desmottes | 2009-08-27 | 2 | -0/+50 |
|\ | |||||
| * | - Added a utility function (empathy_account_reconnect_async) to easily | Jonathan Tellier | 2009-08-26 | 2 | -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 deps | Pierre-Luc Beaudoin | 2009-08-27 | 1 | -2/+2 |
| | | | | | | | | and remove trailing spaces | ||||
* | | Only request presence when the account is enabled (#593161). | Cosimo Cecchi | 2009-08-27 | 1 | -9/+12 |
| | | |||||
* | | Ensure all accounts when getting all properties | Cosimo Cecchi | 2009-08-26 | 1 | -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 Cecchi | 2009-08-26 | 2 | -7/+20 |
| | | |||||
* | | Fix long lines. | Cosimo Cecchi | 2009-08-26 | 1 | -4/+5 |
| | | |||||
* | | Restart MC5 when it quits or crashes (#593018). | Cosimo Cecchi | 2009-08-26 | 1 | -28/+47 |
|/ | |||||
* | Request presence again when an account is enabled | Cosimo Cecchi | 2009-08-26 | 1 | -0/+17 |
| | |||||
* | Fix alignment | Xavier Claessens | 2009-08-25 | 1 | -1/+1 |
| | |||||
* | Add human-readable names for Yahoo! Japan and Facebook Chat | Will Thompson | 2009-08-25 | 1 | -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 names | Will Thompson | 2009-08-25 | 1 | -10/+16 |
| | |||||
* | Wait for the connection to be ready before requesting contacts from it. | Jonny Lamb | 2009-08-25 | 1 | -6/+22 |
| | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> | ||||
* | Make empathy_protocol_name_to_display_name public | Cosimo Cecchi | 2009-08-25 | 2 | -0/+31 |
| | |||||
* | Fix a crash caused by tp-glib emitting invalidated in dispose | Sjoerd Simons | 2009-08-25 | 1 | -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 Lamb | 2009-08-25 | 1 | -0/+1 |
| | | | | | | better presence. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> | ||||
* | Free the allocated dirname after usage | Sjoerd Simons | 2009-08-24 | 1 | -0/+2 |
| | |||||
* | Fix several coding style issues | Sjoerd Simons | 2009-08-24 | 1 | -1/+1 |
| | |||||
* | Don't use a custom function to build the log dir | Sjoerd Simons | 2009-08-24 | 1 | -2/+1 |
| | |||||
* | Have log_store_empathy_search_hit_new lookup accounts properly | Sjoerd Simons | 2009-08-24 | 1 | -7/+17 |
| | |||||
* | Split out the account name to dirname translation | Sjoerd Simons | 2009-08-24 | 1 | -6/+14 |
| | |||||
* | Ensure that the connection data is setup when handle channels | Sjoerd Simons | 2009-08-24 | 1 | -3/+16 |
| | |||||
* | Add a new _ensure_account API | Sjoerd Simons | 2009-08-24 | 3 | -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 nicer | Sjoerd Simons | 2009-08-24 | 1 | -4/+6 |
| | |||||
* | Don't override the display_name when creating the account | Sjoerd Simons | 2009-08-24 | 1 | -6/+0 |
| | |||||
* | Return the correct object when querying the dbus-daemon property | Sjoerd Simons | 2009-08-24 | 1 | -2/+1 |
| | |||||
* | Remove unused finalize | Sjoerd Simons | 2009-08-24 | 1 | -16/+0 |
| | |||||
* | Add a new DEBUG domain for the mc4 account importer | Arnaud Maillet | 2009-08-24 | 2 | -0/+2 |
| | |||||
* | Use better avatar location: ~/.cache/<cm>/<protocol>/<token> | Xavier Claessens | 2009-08-24 | 1 | -7/+3 |
| | |||||
* | Fix some leaks in _settings_discard | Sjoerd Simons | 2009-08-23 | 1 | -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 signature | Sjoerd Simons | 2009-08-23 | 1 | -0/+3 |
| | |||||
* | First part of an overhaul of the accounts dialog | Jonathan Tellier | 2009-08-22 | 3 | -13/+48 |
| | |||||
* | Make the set_enabled API async | Cosimo Cecchi | 2009-08-22 | 2 | -16/+48 |
| | |||||
* | Fix long line | Cosimo Cecchi | 2009-08-22 | 1 | -1/+2 |
| | |||||
* | Remove the parameters from the unset pool when we set them again | Cosimo Cecchi | 2009-08-22 | 1 | -1/+35 |
| | |||||
* | Merge back from master | Sjoerd Simons | 2009-08-22 | 11 | -244/+592 |
|\ | |||||
| * | Revert "Don't use deprecated g_mapped_file_free()" | Xavier Claessens | 2009-08-21 | 1 | -1/+1 |
| | | | | | | | | This reverts commit 5a89234873d5c709ee852e2b43220f9c8c0a2033. | ||||
| * | Don't use deprecated g_mapped_file_free() | Kjartan Maraas | 2009-08-21 | 1 | -1/+1 |
| | | |||||
| * | Merge branch 'connman' | Jonny Lamb | 2009-08-20 | 7 | -128/+547 |
| |\ | |||||
| | * | empathy-connectivity: assume status is offline if GetState fails | Jonny Lamb | 2009-08-20 | 1 | -0/+2 |
| | | | | | | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> | ||||
| | * | empathy-connectivity: add ConnMan support | Jonny Lamb | 2009-08-20 | 1 | -2/+120 |
| | | | | | | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> | ||||
| | * | configure: enable connectivity building with nm, connman, auto or none | Jonny Lamb | 2009-08-20 | 1 | -2/+4 |
| | | | | | | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> | ||||
| | * | empathy-connectivity: small style fix | Jonny Lamb | 2009-08-20 | 1 | -4/+1 |
| | | | | | | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> | ||||
| | * | all: save the signal id and use that to disconnect from the signal | Jonny Lamb | 2009-08-20 | 2 | -7/+12 |
| | | | | | | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> | ||||
| | * | empathy-connectivity: only send the new state in the state-change signal | Jonny Lamb | 2009-08-19 | 2 | -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-conn | Jonny Lamb | 2009-08-19 | 1 | -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_run | Jonny Lamb | 2009-08-19 | 1 | -10/+0 |
| | | | | | | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> | ||||
| | * | empathy-connectivity: be sure to get the initial presence on init | Jonny Lamb | 2009-08-19 | 1 | -0/+4 |
| | | | | | | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> | ||||
| | * | empathy-connectivity: init priv->connected to TRUE if we're not using NM | Jonny Lamb | 2009-08-19 | 1 | -4/+2 |
| | | | | | | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> | ||||
| | * | empathy-connectivity: remove useless assignment | Jonny Lamb | 2009-08-19 | 1 | -1/+0 |
| | | | | | | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> | ||||
| | * | empathy-connectivity: stop using the name "manager" when I mean "connectivity" | Jonny Lamb | 2009-08-19 | 1 | -5/+5 |
| | | | | | | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> | ||||
| | * | empathy-connectivity: disconnect from NM state change signal on finalize | Jonny Lamb | 2009-08-19 | 1 | -0/+2 |
| | | | | | | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> | ||||
| | * | empathy-connectivity: only unref the NM client if we're using NM | Jonny Lamb | 2009-08-19 | 1 | -0/+2 |
| | | | | | | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> | ||||
| | * | empathy-connectivity: handle changes in use_conn correctly | Jonny Lamb | 2009-08-19 | 1 | -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 unreffing | Jonny Lamb | 2009-08-19 | 1 | -16/+21 |
| | | | | | | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> | ||||
| | * | empathy-idle: use EmpathyConnectivity instead of messing with NM itself | Jonny Lamb | 2009-08-19 | 2 | -126/+49 |
| | | | | | | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> | ||||
| | * | empathy-connectivity: add signals, properties and hook in NM | Jonny Lamb | 2009-08-19 | 2 | -12/+186 |
| | | | | | | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> | ||||
| | * | empathy-debug: add connectivity debug key | Jonny Lamb | 2009-08-18 | 2 | -0/+2 |
| | | | | | | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> | ||||
| | * | empathy-connectivity: add initial stubs | Jonny Lamb | 2009-08-18 | 3 | -0/+196 |
| | | | | | | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> | ||||
| * | | Merge commit 'lfrb/added' | Guillaume Desmottes | 2009-08-19 | 1 | -4/+7 |
| |\ \ | |||||
| | * | | Always add to publish list | Louis-Francis Ratté-Boulianne | 2009-08-19 | 1 | -4/+7 |
| | | | | |||||
| * | | | Don't assume that 'subscribe' exists. | Will Thompson | 2009-08-19 | 1 | -7/+10 |
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | This fixes bug #591468, which is a crash when you open a tab to a contact from the user list in an IRC channel. Idle doesn't have a 'subscribe' list, so priv->subscribe is NULL, so this crashed. But if you don't have a subscribe list, obviously you can't add the contact to subscribe, so we can just guard this appropriately. Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | ||||
| * | | Use tp-glib Location stable API (#585843) | Guillaume Desmottes | 2009-08-17 | 1 | -7/+7 |
| | | | |||||
| * | | Only call SetChatState if the Channel supports it | Will Thompson | 2009-08-14 | 1 | -7/+10 |
| |/ | | | | | | | | | I'm sick of seeing spurious debug messages about this whenever I type anything into an IRC channel. | ||||
| * | Move the FsElementElementAddedNotifier over the main pipeline | Olivier Crête | 2009-08-07 | 1 | -32/+0 |
| | | |||||
| * | Make it possible to set element properties from a config file | Olivier Crête | 2009-08-07 | 1 | -33/+17 |
| | | |||||
| * | Put codec preferences in a configuration file | Olivier Crête | 2009-08-07 | 1 | -41/+12 |
| | | |||||
* | | Rename empathy_account_get_connection_for to ↵ | Sjoerd Simons | 2009-08-22 | 3 | -4/+5 |
| | | | | | | | | empathy_account_get_connection_for_path | ||||
* | | Don't hook up to invalidated when creating the connection failed | Sjoerd Simons | 2009-08-22 | 1 | -10/+11 |
| | | |||||
* | | Let the cached parameters asv own the key strings | Sjoerd Simons | 2009-08-21 | 1 | -7/+9 |
| | | |||||
* | | Use g_strdup instead of casting a const gchar* to a gchar*. | Xavier Claessens | 2009-08-21 | 1 | -1/+1 |
| | | |||||
* | | Use new api to get connections | Sjoerd Simons | 2009-08-21 | 1 | -4/+8 |
| | | |||||
* | | Add API to get teh TpConnection for an account on a certain path | Sjoerd Simons | 2009-08-21 | 2 | -31/+61 |
| | | |||||
* | | When getting an account for an unknown path automagically create the new ↵ | Sjoerd Simons | 2009-08-21 | 1 | -14/+5 |
| | | | | | | | | account object | ||||
* | | Set the RequestedPresence when creating a new command | Sjoerd Simons | 2009-08-21 | 1 | -1/+36 |
| | | | | | | | | | | | | When we create a new account set the initial value of RequestedPresence to the global requested presence, but don't enable it by default. This will cause its requested presence to always be in sync with the rest of empathy. | ||||
* | | Only set the current global requested on the initial set of accounts | Sjoerd Simons | 2009-08-21 | 1 | -13/+9 |
| | | | | | | | | | | | | Stop setting the presence automagically when an account gets enabled or becomes ready, in both cases this account might be created or be enabled by some other UI and that UI should make the decisions about it's requested presence. | ||||
* | | Add a function to get the requested global presence from the account manager | Sjoerd Simons | 2009-08-21 | 2 | -0/+21 |
| | | |||||
* | | Cache the icon inside EmpathyAccountSettings | Sjoerd Simons | 2009-08-19 | 1 | -7/+9 |
| | | | | | | | | | | | | At some point we should set the Icon property in the account manager, for now just cache it in the settings so we can pass it by reference instead of needing to dup it as that's the API we want to have in the future | ||||
* | | replace UNIQUE_NAME_PREFIX by TP_ACCOUNT_OBJECT_PATH_BASE | Sjoerd Simons | 2009-08-19 | 1 | -4/+3 |
| | | |||||
* | | the status in EmpathyIdle is the status_message not the status string | Sjoerd Simons | 2009-08-19 | 1 | -5/+6 |
| | | |||||
* | | Add a debug message for tracking global status | Sjoerd Simons | 2009-08-19 | 1 | -0/+3 |
| | | |||||
* | | displatcher -> dispatcher | Davyd Madeley | 2009-08-19 | 1 | -2/+2 |
| | | |||||
* | | Get the DisplayName when the account is ready | Sjoerd Simons | 2009-08-18 | 1 | -5/+8 |
| | | |||||
* | | Rename empathy_settings_get_dbus_signature to ↵ | Sjoerd Simons | 2009-08-18 | 2 | -2/+2 |
| | | | | | | | | empathy_account_settings_get_dbus_signature | ||||
* | | Rename desired presence to requested presence | Sjoerd Simons | 2009-08-18 | 1 | -19/+19 |
| | | |||||
* | | Remove dead code | Sjoerd Simons | 2009-08-18 | 1 | -8/+0 |
| | | |||||
* | | rename status-reason to connection-status-reason and notify ↵ | Sjoerd Simons | 2009-08-18 | 1 | -2/+3 |
| | | | | | | | | connection-status{-reason,} when changes happen | ||||
* | | Notify when display-name is updated | Sjoerd Simons | 2009-08-17 | 1 | -0/+1 |
| | | |||||
* | | No need to check if create_results exists in dispose | Sjoerd Simons | 2009-08-17 | 1 | -18/+14 |
| | | |||||
* | | Plug some leaks | Sjoerd Simons | 2009-08-17 | 1 | -2/+8 |
| | | |||||
* | | Removed dead code | Sjoerd Simons | 2009-08-17 | 1 | -10/+0 |
| | | |||||
* | | Only cancel the name owner watch if the dbus proxy still exists | Sjoerd Simons | 2009-08-17 | 1 | -2/+3 |
| | | |||||
* | | Fix coding style (tabs vs. spaces | Sjoerd Simons | 2009-08-17 | 1 | -5/+5 |
| | | |||||
* | | no need to check for the size of the hash table | Sjoerd Simons | 2009-08-17 | 1 | -2/+1 |
| | | |||||
* | | Set presence on accounts when they become ready | Cosimo Cecchi | 2009-08-01 | 1 | -1/+8 |
| | | |||||
* | | Merge branch 'sjoerd-mc5' into mc5 | Cosimo Cecchi | 2009-08-01 | 24 | -130/+385 |
|\ \ | | | | | | | | | | | | | | | | Conflicts: libempathy-gtk/empathy-account-widget.c libempathy-gtk/empathy-protocol-chooser.c | ||||
| * | | Fix some coding style issues | Sjoerd Simons | 2009-07-31 | 4 | -23/+30 |
| | | | |||||
| * | | add some slightly nicer debug messages | Sjoerd Simons | 2009-07-31 | 1 | -2/+3 |
| | | | |||||
| * | | Add a small comment about emp_account_manager_update_global_presence | Sjoerd Simons | 2009-07-31 | 1 | -0/+3 |
| | | | |||||
| * | | Fix typo | Sjoerd Simons | 2009-07-31 | 1 | -2/+2 |
| | | | |||||
| * | | Chang the API of AccountManager to have the get lookup the account by name | Sjoerd Simons | 2009-07-30 | 6 | -21/+17 |
| | | | | | | | | | | | | | | | | | | | | | | | | EmpathyAccountManager used to have a _lookup function that looked up accounts by name and a _get function that lookup up accounts by connection. This is confusing, as looking up an account for a connection is less common rename have the _get_account be the same _lookup (but without returning a ref) and add a _get_account_for_connection function lookup by account | ||||
| * | | remove usage of empathy_account_equal | Sjoerd Simons | 2009-07-30 | 4 | -18/+5 |
| | | | |||||
| * | | Remove empathy_account_hash | Sjoerd Simons | 2009-07-30 | 2 | -9/+0 |
| | | | |||||
| * | | Unref the connection if it fails to become ready or is invalidated | Sjoerd Simons | 2009-07-30 | 1 | -10/+17 |
| | | | |||||
| * | | Add a utility function to may protocols to their icons | Sjoerd Simons | 2009-07-29 | 3 | -1/+9 |
| | | | |||||
| * | | Merge commit 'upstream/master' into mc5 | Sjoerd Simons | 2009-07-28 | 15 | -44/+299 |
| |\| | | | | | | | | | | | | | | | | Conflicts: libempathy-gtk/empathy-account-widget.c src/empathy.c | ||||
| | * | Fixed copy/paste mistake (Remove members from the right set) | Louis-Francis Ratté-Boulianne | 2009-07-23 | 1 | -2/+2 |
| | | | |||||
| | * | Put configuration data in XDG_CONFIG_DIRS (GNOME bug 494007) | Frédéric Péters | 2009-07-21 | 3 | -5/+5 |
| | | | |||||
| | * | Add EMPATHY_DEBUG_SHARE_DESKTOP in libempathy/empathy-debug.h | Arnaud Maillet | 2009-07-20 | 1 | -0/+1 |
| | | | |||||
| | * | Merge commit 'jtellier/video-call-button-sensitivity' | Davyd Madeley | 2009-07-15 | 2 | -0/+26 |
| | |\ | |||||
| | | * | Added functions to determine if a contact has video capabilities | Jonathan Tellier | 2009-07-03 | 2 | -0/+26 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Activating the "Video Call" button only if the remote contact support video. The call window's "Send Video" is only sensitive if the contact has video capabilities. | ||||
| | * | | Revert "Remove deprecated call to g_mapped_file_free()" | Davyd Madeley | 2009-07-15 | 1 | -1/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit breaks older GLib. When we're ready to bump our requirement to GLib 2.22, simply revert this commit. This reverts commit 0ade362fb9343ec984c396a202565c4e5faa1f12 but with an extra comment to explain what the hell is going on. | ||||
| | * | | Small style fixes | Davyd Madeley | 2009-07-15 | 1 | -2/+2 |
| | | | | |||||
| | * | | Remove deprecated call to g_mapped_file_free() | Davyd Madeley | 2009-07-15 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | Change to g_mapped_file_unref() | ||||
| | * | | Implement CAN_GROUP by looking at RequestableChannelClasses | Davyd Madeley | 2009-07-15 | 1 | -1/+53 |
| | | | | |||||
| | * | | Add empathy_contact_manager_initialized() | Davyd Madeley | 2009-07-15 | 2 | -0/+18 |
| | | | | |||||
| | * | | call GetAliasFlags() to determine if an alias can be set on a ContactList | Davyd Madeley | 2009-07-15 | 2 | -1/+38 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pending FIXMEs: - need to lookup RequestableChannelClasses to see if Groups can be requested on this connection - need to work out the best way to pass ContactListFlags to empathy_contact_menu_new() | ||||
| | * | | Convert empathy_contact_manager_can_add() to ↵ | Davyd Madeley | 2009-07-15 | 2 | -5/+7 |
| | | | | | | | | | | | | | | | | empathy_contact_manager_get_flags_for_connection() | ||||
| | * | | Remove redundant empathy_tp_contact_list_can_add() | Davyd Madeley | 2009-07-15 | 2 | -20/+6 |
| | | | | |||||
| | * | | Expose channel group flags via EmpathyContactList iface | Davyd Madeley | 2009-07-15 | 3 | -0/+46 |
| | | | | |||||
| | * | | empathy-message.c: remove a trailing space | Guillaume Desmottes | 2009-07-14 | 1 | -1/+1 |
| | | | | |||||
| | * | | Support for history message in Adium themes. Use context HTMLs. | Nicolò Chieffo | 2009-07-08 | 3 | -0/+40 |
| | | | | |||||
| | * | | empathy_contact_manager_can_add: raise an error if connection is NULL | Guillaume Desmottes | 2009-07-07 | 1 | -0/+1 |
| | |/ | |||||
| | * | Merge branch 'part-reasons' | Will Thompson | 2009-07-02 | 1 | -13/+52 |
| | |\ | |||||
| | | * | Style: avoid marching off the right margin | Will Thompson | 2009-06-19 | 1 | -9/+10 |
| | | | | |||||
| | | * | Style: use FIXME not TODO | Will Thompson | 2009-06-19 | 1 | -3/+3 |
| | | | | |||||
| | | * | Coding style: one declaration per line. | Will Thompson | 2009-06-19 | 1 | -1/+2 |
| | | | | |||||
| | | * | Include actor in members-changed if possible | Will Thompson | 2009-06-18 | 1 | -14/+51 |
| | | | | |||||
* | | | | Make protocol icons work also with account == NULL | Cosimo Cecchi | 2009-07-31 | 2 | -3/+6 |
| | | | | |||||
* | | | | Fix trailing whitespace | Cosimo Cecchi | 2009-07-30 | 1 | -3/+3 |
| | | | | |||||
* | | | | Ignore default value for required params | Cosimo Cecchi | 2009-07-30 | 1 | -4/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Parameters should never have both the default and the required flags set, as required means the user has to fill in a value. When this happens anyway, the default dlag should be ignored, so we can avoid looking up the default value when checking for an account settings' validity. | ||||
* | | | | Make account creation non-exclusive | Cosimo Cecchi | 2009-07-30 | 1 | -22/+46 |
| | | | | | | | | | | | | | | | | | | | | As it's valid to create more than an account at the same time, we should permit it with subsequent calls to EmpathyAccountManager. | ||||
* | | | | Rename empathy_account_settings_owns_account() | Cosimo Cecchi | 2009-07-30 | 2 | -2/+2 |
| | | | | | | | | | | | | | | | | Call it empathy_account_settings_has_account() instead | ||||
* | | | | Add empathy_account_settings_is_valid () | Cosimo Cecchi | 2009-07-30 | 2 | -0/+61 |
| | | | | |||||
* | | | | Fix a typo in dispose() | Cosimo Cecchi | 2009-07-30 | 1 | -3/+5 |
| | | | | |||||
* | | | | Cancel the creation thread in dispose() | Cosimo Cecchi | 2009-07-30 | 1 | -0/+11 |
| | | | | |||||
* | | | | Emit the ACCOUNT_CREATED signal at the right time | Cosimo Cecchi | 2009-07-30 | 1 | -36/+31 |
| | | | | | | | | | | | | | | | | | | | | I.e. emit it only after the account has been added to the relevant EmpathyAccountSettings object. | ||||
* | | | | Add empathy_account_settings_owns_account() | Cosimo Cecchi | 2009-07-30 | 2 | -0/+17 |
| | | | | |||||
* | | | | Implement _set_display_name | Cosimo Cecchi | 2009-07-30 | 3 | -2/+110 |
| | | | | |||||
* | | | | When an account is enabled, always align it to the global presence. | Cosimo Cecchi | 2009-07-30 | 1 | -8/+9 |
| | | | | | | | | | | | | | | | | | | | | Before, this was only done for newly created accounts, and not every time any account was enabled. | ||||
* | | | | Plug some leaks | Cosimo Cecchi | 2009-07-30 | 1 | -0/+6 |
| | | | | |||||
* | | | | Respect the global presence when enabling an account | Cosimo Cecchi | 2009-07-30 | 1 | -3/+36 |
| | | | | |||||
* | | | | Add an API to get the num of CMs | Cosimo Cecchi | 2009-07-30 | 2 | -0/+14 |
|/ / / | |||||
* | | | Ensure EmpathyConnectionManagers stays alive when still emitting signals | Sjoerd Simons | 2009-07-23 | 1 | -0/+2 |
| | | | |||||
* | | | Allow stop to be called if there isn't a backing channel | Sjoerd Simons | 2009-07-22 | 1 | -0/+4 |
| | | | |||||
* | | | If the requested property is missing, assume we didn't request it | Sjoerd Simons | 2009-07-22 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | MC5 tries to handle channels only signalled by the old NewChannel signal, but the Requested property isn't set in that case. Assume that we didn't request it in that case | ||||
* | | | Correctly implement empathy_account_is_valid | Sjoerd Simons | 2009-07-22 | 1 | -3/+2 |
| | | | |||||
* | | | Add api to remove accounts | Sjoerd Simons | 2009-07-22 | 2 | -0/+53 |
| | | | |||||
* | | | Add removed signal on EmpathyAccount | Sjoerd Simons | 2009-07-22 | 2 | -0/+64 |
| | | | |||||
* | | | Make the account manager listen to AccountValidityChanged | Sjoerd Simons | 2009-07-22 | 1 | -2/+33 |
| | | | |||||
* | | | Use the account manager when the service is running, not when we receive ↵ | Marco Barisione | 2009-07-22 | 1 | -15/+14 |
| | | | | | | | | | | | | NameOwnerChanged | ||||
* | | | Coding style fixes | Sjoerd Simons | 2009-07-22 | 7 | -11/+11 |
| | | | |||||
* | | | Unescape _ and _2d in the protocol from mission-control | Sjoerd Simons | 2009-07-22 | 1 | -1/+38 |
| | | | |||||
* | | | Make empathy_account_set_enable call out over d-bus | Sjoerd Simons | 2009-07-22 | 1 | -4/+26 |
| | | | |||||
* | | | Add API to Update an accounts parameters | Sjoerd Simons | 2009-07-22 | 2 | -0/+59 |
| | | | |||||
* | | | Remove the API to change the account parameters one by one | Sjoerd Simons | 2009-07-22 | 2 | -74/+10 |
| | | | |||||
* | | | Add an abstraction to buffer up changes to an account | Sjoerd Simons | 2009-07-22 | 3 | -0/+1122 |
| | | | |||||
* | | | Correct usage of priv | Sjoerd Simons | 2009-07-22 | 1 | -5/+4 |
| | | | |||||
* | | | Add API to add accounts | Sjoerd Simons | 2009-07-22 | 2 | -23/+106 |
| | | | |||||
* | | | reformat macros a bit | Sjoerd Simons | 2009-07-21 | 1 | -6/+11 |
| | | | |||||
* | | | Add singleton to cache TpConnectionManagers | Sjoerd Simons | 2009-07-20 | 3 | -0/+373 |
| | | | |||||
* | | | remove dead code | Sjoerd Simons | 2009-07-19 | 1 | -58/+0 |
| | | | |||||
* | | | Escape unique names by replacing / by % | Sjoerd Simons | 2009-07-16 | 1 | -8/+15 |
| | | | |||||
* | | | Ignore a log when the account it isn't found | Sjoerd Simons | 2009-07-16 | 1 | -1/+7 |
| | | | |||||
* | | | Put the logs in XDG_DATA_HOME instead of ~/.gnome2 | Sjoerd Simons | 2009-07-16 | 1 | -2/+4 |
| | | | |||||
* | | | Default to OFFLINE instead of UNSET for the global presence | Sjoerd Simons | 2009-07-16 | 1 | -1/+1 |
| | | | |||||
* | | | Escape the unique account name | Sjoerd Simons | 2009-07-16 | 1 | -3/+6 |
| | | | |||||
* | | | Add a concept of ready to the account manager | Sjoerd Simons | 2009-07-16 | 2 | -2/+74 |
| | | | |||||
* | | | Check the right variable for setting the ready property | Sjoerd Simons | 2009-07-16 | 1 | -1/+1 |
| | | | |||||
* | | | Remove last references to mission-control 4 | Sjoerd Simons | 2009-07-16 | 13 | -25/+12 |
| | | | |||||
* | | | Use default status identifiers when setting the presence | Sjoerd Simons | 2009-07-16 | 1 | -4/+20 |
| | | | |||||
* | | | Get the presence from the AccountManager instead of MC4 | Sjoerd Simons | 2009-07-16 | 1 | -52/+7 |
| | | | |||||
* | | | Keep track of ``global'' presence of all accounts | Sjoerd Simons | 2009-07-16 | 4 | -216/+163 |
| | | | |||||
* | | | Remove dead code | Sjoerd Simons | 2009-07-16 | 2 | -119/+2 |
| | | | |||||
* | | | Implement HandledChannels D-Bus property | Sjoerd Simons | 2009-07-16 | 1 | -0/+30 |
| | | | |||||
* | | | empathy-account-manager.c: remove obsolte empathy-account-priv.h include | Guillaume Desmottes | 2009-07-16 | 1 | -1/+0 |
| | | | |||||
* | | | Implement a first minimal version of a Client.Handler | Sjoerd Simons | 2009-07-10 | 2 | -116/+176 |
| | | | |||||
* | | | Use the account manager to set the presence | Sjoerd Simons | 2009-07-08 | 1 | -24/+11 |
| | | | |||||
* | | | Add a utility to set the presence on all requested accounts | Sjoerd Simons | 2009-07-08 | 2 | -1/+34 |
| | | | |||||
* | | | Add api to set the requested presence | Sjoerd Simons | 2009-07-08 | 2 | -0/+47 |
| | | | |||||
* | | | Initial port of Account and AccountManager to MC5 | Sjoerd Simons | 2009-07-08 | 5 | -155/+449 |
| | | | |||||
* | | | Add an GType of ao | Sjoerd Simons | 2009-07-08 | 2 | -0/+13 |
| | | | |||||
* | | | Remove useless mission-control includes | Sjoerd Simons | 2009-07-06 | 3 | -5/+1 |
| | | | |||||
* | | | Add api to create accounts, by cm and proto name | Sjoerd Simons | 2009-07-06 | 2 | -2/+48 |
| | | | |||||
* | | | Get the icon name from the account object directly | Sjoerd Simons | 2009-07-05 | 2 | -0/+12 |
| | | | |||||
* | | | Add API to get the protocol and cm name from a account | Sjoerd Simons | 2009-07-05 | 2 | -11/+51 |
|/ / | |||||
* | | Removing chatroom from the list before emmiting chatroom-removed signal. | Abner Silva | 2009-07-01 | 1 | -1/+2 |
| | | |||||
* | | Merge branch 'empathy-account' | Sjoerd Simons | 2009-07-01 | 23 | -494/+1070 |
|\ \ | |||||
| * | | clarify when notify::connection is signalled | Sjoerd Simons | 2009-07-01 | 1 | -0/+1 |
| | | | |||||
| * | | fix coding style | Sjoerd Simons | 2009-07-01 | 1 | -1/+0 |
| | | | |||||
| * | | Clarify that we own the keys/values in the accounts hash | Sjoerd Simons | 2009-07-01 | 1 | -1/+2 |
| | | | |||||
| * | | explain the connect_time struct member | Sjoerd Simons | 2009-07-01 | 1 | -0/+1 |
| | | | |||||
| * | | Fix coding style | Sjoerd Simons | 2009-07-01 | 1 | -1/+2 |
| | | | |||||
| * | | Port libempathy to EmpathyAccount | Sjoerd Simons | 2009-07-01 | 15 | -107/+93 |
| | | | |||||
| * | | Port EmpathyTpRoomlist to EmpathyAccount | Sjoerd Simons | 2009-07-01 | 2 | -32/+18 |
| | | | |||||
| * | | Implement EmpathyAccount | Sjoerd Simons | 2009-07-01 | 6 | -355/+956 |
| | | | | | | | | | | | | | | | | | | Refactor EmpathyAccountManager and introduce a seperate EmpathyAccount object, which wraps McAccount. When moving to MC5, EmpathyAccount will wrap the Telepathy.Account interface. Fixes #587508 | ||||
* | | | Improve geocoding debugging and add more fields | Pierre-Luc Beaudoin | 2009-07-01 | 1 | -8/+34 |
|/ / | |||||
* | | Fallback to OFFLINE when getting an unknown presence from MC | Sjoerd Simons | 2009-07-01 | 1 | -1/+1 |
| | | |||||
* | | Use NM by default | Sjoerd Simons | 2009-07-01 | 1 | -4/+2 |
| | | |||||
* | | Always react when disconnecting from the network | Sjoerd Simons | 2009-07-01 | 1 | -3/+3 |
| | | |||||
* | | Optionally use libnm-glib for NetworkManager integration | Sjoerd Simons | 2009-07-01 | 2 | -48/+37 |
| | | | | | | | | | | | | | | | | | | | | | | | | Previously Empathy use the NM D-Bus interface directly. Unfortunately the d-bus calls used were deprecated and somewhat buggy (if NM wasn't running on empathy startup, it would never detect network changes). Given that NetworkManager isn't a blessed gnome dependency the code has been made optional, but it's expected that every distribution will build with NetworkManager integration anyway. Based on a patch by Tambet Ingo <tambet@novell.com>. Fixes #587446 | ||||
* | | Merge commit 'elliot/bug-584703-c' | Xavier Claessens | 2009-06-28 | 2 | -20/+38 |
|\ \ | |||||
| * | | disconnect from invalidated signal before unreferencing connections | Elliot Fairweather | 2009-06-26 | 1 | -0/+14 |
| | | |