aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-account-manager.c
Commit message (Collapse)AuthorAgeFilesLines
* Only unref the AccountManager if it's not NULLCosimo Cecchi2009-08-281-1/+3
|
* 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.
* Fix long lines.Cosimo Cecchi2009-08-261-4/+5
|
* Restart MC5 when it quits or crashes (#593018).Cosimo Cecchi2009-08-261-28/+47
|
* 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>
* Add a new _ensure_account APISjoerd Simons2009-08-241-3/+13
| | | | | 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.
* First part of an overhaul of the accounts dialogJonathan Tellier2009-08-221-3/+6
|
* When getting an account for an unknown path automagically create the new ↵Sjoerd Simons2009-08-211-14/+5
| | | | account object
* Only set the current global requested on the initial set of accountsSjoerd Simons2009-08-211-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 managerSjoerd Simons2009-08-211-0/+16
|
* Add a debug message for tracking global statusSjoerd Simons2009-08-191-0/+3
|
* Rename desired presence to requested presenceSjoerd Simons2009-08-181-19/+19
|
* Remove dead codeSjoerd Simons2009-08-181-8/+0
|
* No need to check if create_results exists in disposeSjoerd Simons2009-08-171-18/+14
|
* Only cancel the name owner watch if the dbus proxy still existsSjoerd Simons2009-08-171-2/+3
|
* Fix coding style (tabs vs. spacesSjoerd Simons2009-08-171-5/+5
|
* no need to check for the size of the hash tableSjoerd Simons2009-08-171-2/+1
|
* Set presence on accounts when they become readyCosimo Cecchi2009-08-011-1/+8
|
* Merge branch 'sjoerd-mc5' into mc5Cosimo Cecchi2009-08-011-14/+15
|\ | | | | | | | | | | Conflicts: libempathy-gtk/empathy-account-widget.c libempathy-gtk/empathy-protocol-chooser.c
| * Fix some coding style issuesSjoerd Simons2009-07-311-4/+7
| |
| * Add a small comment about emp_account_manager_update_global_presenceSjoerd Simons2009-07-311-0/+3
| |
| * Chang the API of AccountManager to have the get lookup the account by nameSjoerd Simons2009-07-301-10/+5
| | | | | | | | | | | | | | | | 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
* | Fix trailing whitespaceCosimo Cecchi2009-07-301-3/+3
| |
* | Make account creation non-exclusiveCosimo Cecchi2009-07-301-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.
* | Fix a typo in dispose()Cosimo Cecchi2009-07-301-3/+5
| |
* | Cancel the creation thread in dispose()Cosimo Cecchi2009-07-301-0/+11
| |
* | Emit the ACCOUNT_CREATED signal at the right timeCosimo Cecchi2009-07-301-36/+31
| | | | | | | | | | I.e. emit it only after the account has been added to the relevant EmpathyAccountSettings object.
* | When an account is enabled, always align it to the global presence.Cosimo Cecchi2009-07-301-8/+9
| | | | | | | | | | Before, this was only done for newly created accounts, and not every time any account was enabled.
* | Plug some leaksCosimo Cecchi2009-07-301-0/+6
| |
* | Respect the global presence when enabling an accountCosimo Cecchi2009-07-301-3/+36
|/
* Add removed signal on EmpathyAccountSjoerd Simons2009-07-221-0/+17
|
* Make the account manager listen to AccountValidityChangedSjoerd Simons2009-07-221-2/+33
|
* Use the account manager when the service is running, not when we receive ↵Marco Barisione2009-07-221-15/+14
| | | | NameOwnerChanged
* Coding style fixesSjoerd Simons2009-07-221-1/+1
|
* Add API to add accountsSjoerd Simons2009-07-221-18/+97
|
* Default to OFFLINE instead of UNSET for the global presenceSjoerd Simons2009-07-161-1/+1
|
* Add a concept of ready to the account managerSjoerd Simons2009-07-161-2/+72
|
* Keep track of ``global'' presence of all accountsSjoerd Simons2009-07-161-200/+104
|
* Remove dead codeSjoerd Simons2009-07-161-116/+2
|
* empathy-account-manager.c: remove obsolte empathy-account-priv.h includeGuillaume Desmottes2009-07-161-1/+0
|
* Add a utility to set the presence on all requested accountsSjoerd Simons2009-07-081-1/+28
|
* Initial port of Account and AccountManager to MC5Sjoerd Simons2009-07-081-41/+144
|
* Add api to create accounts, by cm and proto nameSjoerd Simons2009-07-061-1/+41
|
* fix coding styleSjoerd Simons2009-07-011-1/+0
|
* Clarify that we own the keys/values in the accounts hashSjoerd Simons2009-07-011-1/+2
|
* Implement EmpathyAccountSjoerd Simons2009-07-011-347/+232
| | | | | | Refactor EmpathyAccountManager and introduce a seperate EmpathyAccount object, which wraps McAccount. When moving to MC5, EmpathyAccount will wrap the Telepathy.Account interface. Fixes #587508
* disconnect from invalidated signal before unreferencing connectionsElliot Fairweather2009-06-261-0/+14
|
* Remove usage of McPresence as much as possibleSjoerd Simons2009-05-311-2/+27
|
* empathy-account-manager: fix coding styleGuillaume Desmottes2009-05-181-5/+5
|
* Add doc for empathy_account_manager_dup_connections.Xavier Claessens2009-04-221-0/+9
|
* Make explicit in the doc of empathy_account_manager_get_connection that it ↵Xavier Claessens2009-04-221-1/+1
| | | | does not return a new ref
* Add asserts in connection_invalidated_cbXavier Claessens2009-04-221-0/+6
|
* Document hash tables in EmpathyAccountManagerPrivXavier Claessens2009-04-221-2/+2
|
* Get the connection for newly created accountsXavier Claessens2009-04-221-44/+53
|
* Keep a ref to all TpConnection objects. Map account<>connection.Xavier Claessens2009-04-221-0/+149
|
* Fix memleak in empathy_account_manager_init. Do not create unused account data.Lars-Peter Clausen2009-04-211-6/+1
|
* Fix type punned pointers warningsOlivier Crête2009-02-121-2/+2
| | | | | | | | | Remove senseless (void **) From: Olivier Crête <olivier.crete@collabora.co.uk> Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> svn path=/trunk/; revision=2440
* Added a new empathy_account_manager_get_count function, to get the number ofFrederic Peters2009-01-301-2/+20
| | | | | | accounts. svn path=/trunk/; revision=2264
* empathy_mission_control_new -> dup_singleton.Xavier Claessens2009-01-161-1/+1
| | | | svn path=/trunk/; revision=2233
* Use g_return_[val]_if_fail instead of g_assert in public APIs.Xavier Claessens2009-01-071-3/+3
| | | | svn path=/trunk/; revision=2097
* Use the right weak pointer location.Xavier Claessens2009-01-071-1/+1
| | | | svn path=/trunk/; revision=2096
* disconnect_monitor_signals function is quite useless.Xavier Claessens2009-01-071-18/+10
| | | | svn path=/trunk/; revision=2095
* Don't initialize the variable at declaration.Xavier Claessens2009-01-071-3/+3
| | | | svn path=/trunk/; revision=2094
* Move code handling the DBus signal in an idle callback.Xavier Claessens2009-01-071-12/+44
| | | | svn path=/trunk/; revision=2093
* Use TpConnectionStatus instead of guint.Xavier Claessens2009-01-071-1/+1
| | | | svn path=/trunk/; revision=2092
* Simplify code when initializing the store.Xavier Claessens2009-01-071-35/+31
| | | | | | | Always start the 10sec timeout when we change status to connected. Rename TpConnectionStatus variables connection->status. svn path=/trunk/; revision=2091
* Insert a comment claryfing reference ownership.Xavier Claessens2009-01-071-0/+3
| | | | svn path=/trunk/; revision=2090
* Don't forget to unref the account object.Xavier Claessens2009-01-071-0/+1
| | | | svn path=/trunk/; revision=2089
* Initialize the connection numbers when creating the object.Xavier Claessens2009-01-071-0/+9
| | | | svn path=/trunk/; revision=2083
* Add a weak pointer ref inside the costructor.Xavier Claessens2009-01-071-0/+1
| | | | svn path=/trunk/; revision=2080
* Use new singleton policy for EmpathyAccountManager.Xavier Claessens2009-01-071-2/+5
| | | | svn path=/trunk/; revision=2074
* Another style nitpick.Xavier Claessens2009-01-071-1/+3
| | | | svn path=/trunk/; revision=2073
* Yet more style fixes.Xavier Claessens2009-01-071-126/+134
| | | | svn path=/trunk/; revision=2072
* Use _constructor () override to implement singleton.Xavier Claessens2009-01-071-9/+22
| | | | svn path=/trunk/; revision=2071
* Add newlines at the end of files.Xavier Claessens2009-01-071-0/+1
| | | | svn path=/trunk/; revision=2070
* Remember to set dispose_run after dispose has run.Xavier Claessens2009-01-071-0/+2
| | | | svn path=/trunk/; revision=2068
* Don't leak a reference to McAccount objects and don't leak a list.Xavier Claessens2009-01-071-3/+7
| | | | svn path=/trunk/; revision=2066
* Unref objects in dispose and not in finalize; fully update account dataXavier Claessens2009-01-071-10/+43
| | | | | | before emitting signals. svn path=/trunk/; revision=2065
* Style fixes.Xavier Claessens2009-01-071-347/+347
| | | | svn path=/trunk/; revision=2064
* Always disconnect signals for safety on _finalize ().Xavier Claessens2009-01-071-2/+19
| | | | svn path=/trunk/; revision=2062
* Remember to check if source_id is already there when adding theXavier Claessens2009-01-071-0/+5
| | | | | | g_timeout. svn path=/trunk/; revision=2058
* Add an API to EmpathyAccountManager to find out if an account has justXavier Claessens2009-01-071-2/+43
| | | | | | connected. svn path=/trunk/; revision=2054
* Add new API in EmpathyAccountManager to cache the number of connectingXavier Claessens2009-01-071-4/+67
| | | | | | and connected accounts. svn path=/trunk/; revision=2042
* Use a invalid value when initializing.Xavier Claessens2009-01-071-1/+1
| | | | svn path=/trunk/; revision=2037
* Use the right marshallers for signals.Xavier Claessens2009-01-071-2/+3
| | | | svn path=/trunk/; revision=2033
* Fix a typo.Xavier Claessens2009-01-071-1/+1
| | | | svn path=/trunk/; revision=2032
* Disconnect from the DBus signal on finalize.Xavier Claessens2009-01-071-0/+5
| | | | svn path=/trunk/; revision=2030
* Add EmpathyAccountManager.Xavier Claessens2009-01-071-0/+391
svn path=/trunk/; revision=2029