summaryrefslogtreecommitdiff
path: root/telepathy-glib
AgeCommit message (Collapse)AuthorFilesLines
2011-11-07Fix race condition when an observer calls claim_with then accept the contextHEADmasterXavier Claessens1-119/+50
tp_channel_dispatch_operation_claim_with_async() were preparing itself as first step, which means the dbus call is not made directly, and the tp_observer_context_accept() dbus message could get to MC first, making MC dispatch the channel to any capable handler. There is no reason to prepare self in _async calls, caller is responsible for that. Fixes fd.o#42503
2011-11-07TpObserverChannelsContext: prepare the CDOXavier Claessens1-0/+33
Observers doing tp_cdo_claim_with_async() will need it to be prepared
2011-11-04Add TP_CONNECTION_FEATURE_CONTACT_LIST_PROPERTIESGuillaume Desmottes4-13/+82
This feature is now a dependency on TP_CONNECTION_FEATURE_CONTACT_LIST so it will be automatically prepared when preparing TP_CONNECTION_FEATURE_CONTACT_LIST (so we don't break existing code) https://bugs.freedesktop.org/show_bug.cgi?id=42546
2011-11-01check if we pass at least one contacts directly in the API callGuillaume Desmottes1-0/+4
The error message will be more useful to users than the one in tp-glib's internals.
2011-11-01coding style tweakGuillaume Desmottes1-1/+2
2011-11-01fix typo in commentsGuillaume Desmottes1-2/+2
2011-11-01process_queued_blocked_changed: don't leak contactsGuillaume Desmottes1-0/+2
2011-11-01improve TpConnection:can-report-abusive docGuillaume Desmottes1-3/+3
2011-11-01prepare_contact_blocking_cb: remove useless gotoGuillaume Desmottes1-8/+8
2011-11-01improve TP_CONNECTION_FEATURE_CONTACT_BLOCKINGGuillaume Desmottes2-7/+8
2011-11-01improve @@report_abusive docGuillaume Desmottes2-6/+10
2011-11-01_tp_contacts_to_handles: check we pass at least one contactGuillaume Desmottes1-0/+1
All the functions using this were already documenting that we should pass at least one contact.
2011-11-01Automatically prepare TP_CONTACT_FEATURE_CONTACT_BLOCKING when possibleGuillaume Desmottes3-0/+33
Once TP_CONNECTION_FEATURE_CONTACT_BLOCKING has been prepared we can easily prepare TP_CONTACT_FEATURE_CONTACT_BLOCKING on all contacts as we have all the information needed. Extra contact feature for free! https://bugs.freedesktop.org/show_bug.cgi?id=41801
2011-11-01TpContact: add is-blocked propertyGuillaume Desmottes4-3/+111
https://bugs.freedesktop.org/show_bug.cgi?id=41801
2011-11-01add contact operations for blocking APIGuillaume Desmottes2-0/+136
https://bugs.freedesktop.org/show_bug.cgi?id=41801
2011-10-31add TpConnection::blocked-contacts-changed: signalGuillaume Desmottes3-36/+258
https://bugs.freedesktop.org/show_bug.cgi?id=41801
2011-10-31add TpConnection:blocked-contacts propertyGuillaume Desmottes4-2/+141
https://bugs.freedesktop.org/show_bug.cgi?id=41801
2011-10-31add can-report-abusive property and TP_CONNECTION_FEATURE_CONTACT_BLOCKINGGuillaume Desmottes4-0/+137
https://bugs.freedesktop.org/show_bug.cgi?id=41801
2011-10-31add high level API to block/unblock contactsGuillaume Desmottes2-0/+142
https://bugs.freedesktop.org/show_bug.cgi?id=41801
2011-10-31Merge branch 'telepathy-glib-0.16'Guillaume Desmottes1-4/+10
2011-10-31don't call _tp_contacts_to_handles in g_return_if_failGuillaume Desmottes1-4/+10
g_return_if_fail() can be compiled as noop, so we shouldn't rely on it to get the handles.
2011-10-31Merge branch 'telepathy-glib-0.16'Guillaume Desmottes1-1/+1
2011-10-31group-mixin: always set the Members_Changed_Detailed flagGuillaume Desmottes1-1/+1
We unconditionally implements the MembersChangedDetailed signal so this flag should always be set. https://bugs.freedesktop.org/show_bug.cgi?id=42305
2011-10-31Merge branch 'telepathy-glib-0.16'Danielle Madeley1-0/+8
2011-10-31Document the meaning of TpProxy::invalidatedDanielle Madeley1-0/+8
It turns out that when we talked about invalidation, people didn't actually know what this meant.
2011-10-30Merge branch 'introspection'Danielle Madeley1-2/+1
2011-10-29introspection.am: Use correct variable nameDanielle Madeley1-1/+1
Fixes distcheck.
2011-10-28Replace deprecated g_unix_socket_* functions.Travis Reitter1-3/+8
https://bugs.freedesktop.org/show_bug.cgi?id=42233
2011-10-28Removes reference to kludge.xslAlban Crequy1-1/+0
kludge.xsl no longer exists with this commit: |commit 7728cd8d8fa224838f2081dce2e852ec418c61ef |Author: Danielle Madeley <danielle.madeley@collabora.co.uk> |Date: Tue Oct 18 17:46:16 2011 +1100 | | Use g-i makefile rules to simplify building the introspection files | | It turns out we can now remove the kludges which made the introspection rules | so complicated.
2011-10-25Fix a race condition in codegen make rulesMikhail Zabaluev1-1/+3
It occurs in parallel builds when your mkdir is not fast enough.
2011-10-24Merge branch 'telepathy-glib-0.16'Guillaume Desmottes4-31/+104
2011-10-24document capabilities_queueGuillaume Desmottes1-0/+2
2011-10-24Prevent circular introspection dependencySjoerd Simons1-20/+21
As part of preparing a Connection the self contact will be retrieved. If the contacts requested features include _CAPABILITIES _and_ the connection doesn't support ContactCapabilities then the Capabilties of the connection get use. But if we wait for this feature to be prepared then the introspection stalls. So instead use internal API to force getting the capabilities of the connection regardless of the state of the various features and break the circular dependency.
2011-10-24Add internal API to get connection capabilities without having core preparedSjoerd Simons2-8/+72
2011-10-24Make it easier to debug connection preparation by printing object paths in ↵Sjoerd Simons1-3/+4
some cases
2011-10-24Add some extra debugging to make it easier to follow AccountManager preparationSjoerd Simons1-0/+5
2011-10-24Merge branch 'telepathy-glib-0.16'Guillaume Desmottes1-0/+45
2011-10-20base-contact-list: implement ↵Guillaume Desmottes1-0/+45
TP_TOKEN_CONNECTION_INTERFACE_CONTACT_BLOCKING_BLOCKED https://bugs.freedesktop.org/show_bug.cgi?id=42049
2011-10-18Merge branch 'telepathy-glib-0.16'Guillaume Desmottes2-2/+19
2011-10-18deal with self->priv->group_contact_owners may containing NULL contactGuillaume Desmottes2-1/+13
If the owner is unknown self->priv->group_contact_owners may contain NULL TpContact. g_object_unref() not being NULL safe we have to use our own value_destroy_func to avoid warnings. https://bugs.freedesktop.org/show_bug.cgi?id=41928
2011-10-18_tp_channel_contacts_queue_prepare_finish: don't assume item->contacts is ↵Guillaume Desmottes1-1/+6
not NULL For example, when receiving a MUC delivery report we end up with a message having no sender and so no contact to prepare. https://bugs.freedesktop.org/show_bug.cgi?id=41929
2011-10-18Use g-i makefile rules to simplify building the introspection filesDanielle Madeley2-59/+30
It turns out we can now remove the kludges which made the introspection rules so complicated.
2011-10-14Account: expand :normalized-name documentation.Will Thompson1-1/+3
Fixes: <https://bugs.freedesktop.org/show_bug.cgi?id=41714>
2011-10-12TpChannel: don't rely on introspection queue to add the iface ID of the typeGuillaume Desmottes1-5/+3
tp-glib uses to rely on its introspection queue to add the interface ID of its channel type even when the type was already known during construction (which is basically alway the case now as we always pass the immutable properties when creating a TpChannel). This was forcing TpChannel subclasses to have a CORE feature to connect signals on their channel type interface for no good reason. https://bugs.freedesktop.org/show_bug.cgi?id=41729
2011-10-12Merge remote-tracking branch 'origin/master'Will Thompson1-2/+5
2011-10-11_tp_contacts_from_values: skip NULL contactsGuillaume Desmottes1-2/+5
dup_owners_table() can insert NULL contacts into the hash (if the owner is unknown) so we should just ignore those. https://bugs.freedesktop.org/show_bug.cgi?id=41697
2011-10-11Version 0.15.8Will Thompson5-5/+31
2011-10-11BaseRoomConfig: document why we copy properties dictWill Thompson1-0/+12
2011-10-11BaseRoomConfig: move the macros up a bitWill Thompson1-16/+17
2011-10-11BaseRoomConfig: pass self to update_asyncWill Thompson2-17/+25
Previously, the update_async vfunc in TpBaseRoomConfigClass took a pointer to a TpBaseChannel as its first argument. This is an artifact of how this was initially hooked up in Gabble, and is pretty unconventional, to say the least.