summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-12-22Merge branch 'delay-approvers' into loltmploltmpJonny Lamb7-5/+342
2010-12-22tests: add a tests/README symlinkJonny Lamb1-0/+1
I always get confused as to how to run the tests as I look for a tests/README and it's not there. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2010-12-22tests: move from test/ to tests/Jonny Lamb114-49/+49
So so annoying. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2010-12-22create-with-properties: remove unsound signal expectationWill Thompson1-5/+3
When this test creates a new account, it expects four events to occur: • A.AccountPropertyChanged, to say the new account is valid; • AM.AccountValidityChanged, to say the new account is valid; • CreateAccount returning successfully; • RequestConnection on the fake CM, because ConnectAutomatically was set to True and RequestedPresence was set to non-offline in CreateAccount. However, if the account's not yet been announced by AccountValidityChanged, MC has no reason to emit AccountPropertyChanged on it. It happens that, in some cases, it does; but this depends on whether or not MC has already introspected the fake CM by the time the account is created. So the test is wrong to expect AccountPropertyChanged. Instead, we check that Account.Valid is in sync with what AccountValidityChanged said. This fixes an issue where this test would only pass if it was run after account-manager/create-twice, but not if it was run individually.
2010-12-22create-twice.py: use a different 'account' parameterWill Thompson1-1/+1
This test runs right before a test which passed or failed depending on whether this test was run. The logs were made much harder to read by them both creating accounts with very similar names.
2010-12-22stop generating Hints interfacesGuillaume Desmottes5-498/+0
2010-12-22SucceededWithChannel signal is now stableGuillaume Desmottes4-5/+3
2010-12-22ChannelRequest's Hints property is now stableGuillaume Desmottes2-12/+2
2010-12-22{Create,Ensure}ChannelWithHints is now stableGuillaume Desmottes3-18/+3
2010-12-22depends on tp-glib having request hints stable APIGuillaume Desmottes1-1/+1
2010-12-21Merge branch 'remove-MinimumPresence'Will Thompson12-694/+35
Fixes: <https://bugs.freedesktop.org/show_bug.cgi?id=29812> Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2010-12-21Merge branch 'simplify-getting-parameters'Will Thompson15-605/+293
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Fixes: <https://bugs.freedesktop.org/show_bug.cgi?id=32414>
2010-12-21tests: test having >1 observers where only some of them have DelayApprovers=TrueJonny Lamb2-0/+158
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2010-12-21dispatch-operation: only delay ADO if there exist DelayApprovers=True observersJonny Lamb1-59/+18
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2010-12-21delay-approvers.py: fix typo in commentJonny Lamb1-1/+1
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2010-12-21tests: add a test for DelayApprovers observersJonny Lamb3-1/+145
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2010-12-21mcd-dispatch-operation: don't call ADO if DelayApprover Observers haven't ↵Jonny Lamb1-0/+55
returned Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2010-12-21mcd-client: pick up Observer.DelayApproversJonny Lamb2-0/+21
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2010-12-21Merge branch 'test-fixes'Jonny Lamb2-39/+90
2010-12-21create-at-startup: don't expect ObserveChannels calls so close togetherJonny Lamb1-15/+16
Now that preparing the connection takes one more step, it can take longer before ObserveChannels is called with the channel that just appeared on connecting, so let's allow that to appear earlier. This only relaxes the test assumptions a little. Although it currently fails on 0.13.9 and this fixes it, it'll still work on tp-glib < 0.13.9. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2010-12-21mctest: implement GetContactAttributes and GetAll on ContactsJonny Lamb1-6/+39
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2010-12-21mctest: implement HoldHandlesJonny Lamb1-0/+7
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2010-12-21mctest: implement GetAll on ConnectionJonny Lamb1-18/+28
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2010-12-15Remove MinimumPresence implementation.Will Thompson12-694/+35
I feel kind of bad doing this, but it turned out not to be needed. I think it's better to take dead code out, rather than leaving it kicking around to potentially complicate matters later.
2010-12-15McdDBusProp: remove get_asyncWill Thompson3-86/+15
The only property that was implemented in an async fashion was Account.Parameters. Since that's now synchronous, we can bin this code for getting properties asynchronously.
2010-12-15Make _mcd_account_dup_parameters() synchronousWill Thompson4-380/+227
This is a really massive patch, and I'm very sorry. Previously _mcd_account_dup_parameters() took a callback parameter. This was because mcd_account_get_parameter() took a callback parameter. The latter used to actually be asychronous in the gnome-keyring case, but it is not any more, thanks to the harmonious account backend API. So we can remove a *lot* of unnecessary complexity if we make the latter return the parameter's value synchronously, and hence make the former return a GHashTable synchronously. In particular, this means we can make retrieving the Parameters D-Bus property synchronous, which means we can port to TpDBusPropertiesMixin. I did try to split this patch up, but as you, dear reader, will be able to see from what I ended up with, this code was all really entangled with itself. This is the best I could do.
2010-12-15McdAccount: Remove un-overridden virtual methodsWill Thompson2-95/+37
No known subclass of McdAccount overrides get_parameter, set_parameter, delete or load these days. People should be, and are, using the new pluggable storage backends API. So it's safe to remove these methods from the vtable. This will simplify refactoring their (default) implementations.
2010-12-15Account.Service: remove unnecessary explicit fallback.Will Thompson1-4/+0
dbus-glib treats a GValue containing a NULL string as equivalent to a GValue containing "", at least in this context. Many other properties rely on this behaviour; so let's just rely on it here too.
2010-12-15Tests: correct name of Conditions.Condition propertyWill Thompson1-1/+1
The property's actually called Condition, not Conditions. But because McdDBusProp returns the same error for “unknown property” and “wrong type”, the test passed.
2010-12-15Remove redundant object path/bus name constants.Will Thompson8-31/+19
These have been in tp-glib approximately forever.
2010-12-15Remove long-obsolete mcd-presence-frame.hWill Thompson2-14/+0
2010-12-10Update telepathy.am from telepathy-glibSimon McVittie1-0/+4
2010-12-07Start 5.7.2 developmentWill Thompson2-1/+6
2010-12-06Prepare version 5.7.1telepathy-mission-control-5.7.1Vivek Dasmohapatra2-2/+11
2010-12-06Merge branch 'master' of ↵Vivek Dasmohapatra4-42/+88
git+ssh://git.collabora.co.uk/git/telepathy-mission-control
2010-12-01Merge branch 'telepathy-mission-control-5.6'Will Thompson3-38/+84
2010-12-01NEWS for fd.o #24779.telepathy-mission-control-5.6Will Thompson1-1/+4
2010-12-01Merge branch 'fd.o-24779-CurrentPresence-incorrect' into ↵Will Thompson2-37/+80
telepathy-mission-control-5.6 Fixes: <https://bugs.freedesktop.org/show_bug.cgi?id=24779> Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2010-11-30mc-tool: Improve error message for nonexistant accounts.Will Thompson1-4/+4
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2010-11-19Undo the telepathy to mission control error mapping special case: It's ObsoleteVivek Dasmohapatra1-25/+1
2010-11-19Merge branch 'master' of ↵Vivek Dasmohapatra4-5/+127
git+ssh://git.collabora.co.uk/git/telepathy-mission-control
2010-11-19Nano versionVivek Dasmohapatra2-1/+6
2010-11-19Update telepathy.am from tp-glib and add make-release-mail.pySimon McVittie3-5/+121
Also only ship the changelog since 5.4, which should be plenty. Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2010-11-19Start 5.7.1 developmentSimon McVittie2-1/+6
2010-11-19Retroactively add more NEWSSimon McVittie1-0/+6
2010-11-18Header file no longer existstelepathy-mission-control-5.7.0Vivek Dasmohapatra1-1/+0
2010-11-18Prepare for 5.7.0Vivek Dasmohapatra2-3/+16
2010-11-18Merge branch 'account-interface-addressing'Vivek Dasmohapatra15-0/+393
2010-11-18mcd-account-addressing.h contains no API, move from mc-headers to *_la_SOURCESVivek Dasmohapatra1-1/+1
2010-11-18Merge branch 'missing-am-account-removed-signal'Vivek Dasmohapatra1-0/+4