summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-09-24exec-with-log.sh: add HAZE_TEST_BACKTRACE hookHEADmasterSimon McVittie2-0/+9
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=31723 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
2013-09-24HazeIMChannel: use TpBaseChannelSimon McVittie3-351/+94
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=31723 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
2013-09-24tests: stop calling RequestChannelSimon McVittie2-8/+14
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49389 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
2013-09-24Remove unused function close_all_groups()Simon McVittie4-14/+3
This was the last reference to Handle_Type_Contact_List, Handle_Type_Contact_Group or Chan.T.ContactList outside constants.py. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49389 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
2013-09-24roster/remove-from-rp-subscribe.py: convert to Conn.I.ContactListSimon McVittie1-44/+12
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49389 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
2013-09-24roster/subscribe.py: convert to ContactList, ContactGroupsSimon McVittie1-41/+33
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49389 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
2013-09-24roster/publish.py: convert to ContactListSimon McVittie1-82/+74
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49389 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
2013-09-24roster/groups.py: convert to ContactGroupsSimon McVittie1-98/+93
As a side-effect, this adds proper test coverage for SetGroupMembers and SetContactGroups. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49389 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
2013-09-24initial-roster test: convert to ContactList, ContactGroupsSimon McVittie2-81/+52
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49389 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
2013-09-24Use inspect_contacts_sync instead of InspectHandlesSimon McVittie3-11/+9
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49389 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
2013-09-24Fix more uses of RequestHandlesSimon McVittie1-2/+2
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49389 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
2013-09-24tests: use more constants, reduce hard-coding of o.fd.TSimon McVittie5-128/+75
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49389 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
2013-09-24Don't test NewChannelSimon McVittie10-229/+82
Also use assertEquals(), etc., on the lines I'm touching anyway. Just remove initiate.py: the whole point of that test is to exercise an obsolete API. The modern form of the initiation part is tested by initiate-requestotron.py and the text bits are tested by test-text.py. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49389 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
2013-09-24Use get_contact_handle_sync, get_contact_handles_syncSimon McVittie10-28/+12
Telepathy 1.0 won't have RequestHandles. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49389 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
2013-09-24sync gabbletest.py from GabbleSimon McVittie1-1/+1
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49389 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
2013-09-24sync servicetest.py from GabbleSimon McVittie1-5/+24
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49389 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
2013-09-24sync constants.py from GabbleSimon McVittie1-30/+24
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49389 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
2013-09-24Merge branch 'telepathy-haze-0.8'Simon McVittie3-1/+8
Conflicts: NEWS
2013-09-24NEWSSimon McVittie1-0/+14
2013-09-24HazeIMChannel: chain up properly in disposeSimon McVittie1-0/+2
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=31723 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
2013-09-24haze_contact_list_set_contact_groups_async: fix sense of testSimon McVittie1-1/+1
We want to remove the buddy from every group *not* listed in the argument. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49389 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
2013-09-23im-channel.c: include config.h firstSimon McVittie1-1/+3
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69619 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
2013-09-23simple-caps: stop relying on GetContactCapabilitiesSimon McVittie1-5/+1
0.99.1 doesn't have it. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69619 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
2013-09-23haze_im_channel_get_property: fix a TP_SEAL errorSimon McVittie1-1/+2
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69619 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
2013-09-23Tests: replace GetSelfHandle calls with property-gettingSimon McVittie8-8/+11
sed expression: s/\.GetSelfHandle()/.Properties.Get(cs.CONN, "SelfHandle")/g adjusted by hand to add "import constants as cs" where needed. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69619 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
2013-09-18protocol: implement get_avatar_details()Guillaume Desmottes2-0/+58
2013-09-18avatars: factor out haze_connection_get_icon_spec_requirements()Guillaume Desmottes2-3/+47
2013-09-18avatars: factor out dup_mime_types()Guillaume Desmottes1-14/+21
2013-09-18protocol: claim that we implement AvatarsGuillaume Desmottes3-0/+25
2013-09-18protocol: fix 'ConnectionInterfaces'Guillaume Desmottes4-9/+45
Return the set of interfaces actually supported for this specific protocol rather than claiming to support everything. https://bugs.freedesktop.org/show_bug.cgi?id=69466
2013-09-18factor out add_always_present_connection_interfaces()Guillaume Desmottes1-4/+11
https://bugs.freedesktop.org/show_bug.cgi?id=69466
2013-09-18connection: factor out add_optionnal_connection_interfaces()Guillaume Desmottes1-22/+24
So we call tp_base_connection_add_interfaces() only once with all the extra interfaces. https://bugs.freedesktop.org/show_bug.cgi?id=69466
2013-09-18connection: claim to support MailNotification if supportedGuillaume Desmottes1-0/+14
We never advertised that we support this Haze specific extension. https://bugs.freedesktop.org/show_bug.cgi?id=69466
2013-09-18connection: factor out protocol_info_supports_{avatar,blocking}Guillaume Desmottes1-2/+14
https://bugs.freedesktop.org/show_bug.cgi?id=69466
2013-09-17Merge branch 'telepathy-haze-0.8'Simon McVittie4-22/+51
Conflicts: NEWS
2013-09-17NEWSSimon McVittie1-0/+9
2013-09-17Test unknown presencesSimon McVittie2-2/+12
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69474 Reviewed-by: Xavier Claessens <xavier.claessens@collabora.co.uk>
2013-09-17Return UNKNOWN status for non-buddies, rather than raising an errorSimon McVittie1-20/+33
This is consistent with Gabble. Also, don't crash if libpurple gives us a PurpleStatusPrimitive outside the range we understand; guess wildly that it's probably AVAILABLE. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69474 Reviewed-by: Xavier Claessens <xavier.claessens@collabora.co.uk>
2013-09-17NEWSSimon McVittie1-0/+20
2013-09-17Merge branch 'telepathy-haze-0.8'Simon McVittie1-0/+2
2013-09-17Remove StreamedMedia supportSimon McVittie18-4985/+1
In Pidgin, it's only implemented for XMPP (for which we have Gabble), MSNP (which will disappear soon), and mxit (which I doubt anyone's actually tested). Empathy can't do StreamedMedia any more, only Call, and Telepathy 1.0 will only have Call. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69318 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
2013-09-17I keep forgetting the release name :-(Simon McVittie1-0/+2
2013-09-17Start 0.9 branch (before actually releasing 0.8)Simon McVittie1-2/+2
2013-09-17Merge branch 'telepathy-haze-0.8'Simon McVittie1-1/+1
2013-09-170.7.1.1Simon McVittie1-1/+1
2013-09-17Remove the remaining half of CapabilitiesSimon McVittie2-206/+12
We previously implemented ContactCapabilities in terms of Capabilities flags; now we implement it in terms of PurpleMediaCaps. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69318 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
2013-09-17All .c files: include corresponding header first, after config.hSimon McVittie3-2/+4
This verifies self-containedness. It turns out contact-list was not actually self-contained: include <libpurple/account.h> to fix that. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69272 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
2013-09-17All .c files: include config.hSimon McVittie9-0/+14
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69272 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
2013-09-17haze_connection_manager_class_init: don't assign to deprecated membersSimon McVittie1-2/+0
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69272 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
2013-09-17Finish "sealing" TpBaseConnectionSimon McVittie4-11/+14
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=69272 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>