summaryrefslogtreecommitdiff
path: root/docs
AgeCommit message (Collapse)AuthorFilesLines
2014-04-17Use TpPresenceMixin as the type for methods and vfuncsSimon McVittie1-0/+1
Otherwise, the vfuncs are not introspectable.
2014-04-17Decouple TpPresenceMixin from TpBaseConnection againSimon McVittie1-0/+2
I never liked the idea of putting individual interfaces in TpBaseConnection, and it's actually unnecessary: qdata will work just as well.
2014-04-17handle.h: make TpHandle exactly guint32Simon McVittie1-1/+0
Remove its GType, because I don't think anyone ever used it, and strictly speaking there is no GType for guint32.
2014-04-17Move TpDBusPropertiesMixin to the -dbus librarySimon McVittie1-1/+3
It already has private GVariant-based APIs, so we might as well make them public while we're changing them anyway. This removes TP_TYPE_DBUS_PROPERTIES_MIXIN_FLAGS (because we don't run glib-mkenums on the -dbus library) but I doubt anyone actually used it.
2014-04-17TpPresenceMixin: Convert it to a GInterfaceXavier Claessens1-18/+6
It is much easier to use, and should be introspectable
2014-04-17TpPresenceMixin: Use gdbus-codegen's skeleton to implement Presence1Xavier Claessens1-2/+0
2014-04-17TpExportableChannel, TpChannelIface: removeXavier Claessens2-33/+2
Those 2 interfaces are useless because we made sure already that all channels must be TpBaseChannel subclass in all CMs. Use sed to replace all TpExportableChannel references
2014-04-17TpBaseContactList: Use gdbus-codegen's skeleton to implement ContactBlocking1Xavier Claessens1-2/+0
2014-04-17TpBaseContactList: Use gdbus-codegen's skeleton to implement ContactGroups1Xavier Claessens1-1/+0
2014-04-17TpBaseContactList: Use gdbus-codegen's skeleton to implement ContactList1Simon McVittie1-1/+0
[edited to remove unrelated TpWeakRef changes -smcv]
2014-04-17TpBaseConnection: Change fill_contact_attributes() to take a GVariantDictXavier Claessens1-5/+0
2014-04-14TpBaseConnection: be a GDBusObjectSkeletonSimon McVittie1-2/+0
2014-04-14Add gdbus-codegen supportXavier Claessens1-0/+1
2014-04-14TpBaseProtocol: be a GDBusObjectSkeletonSimon McVittie1-2/+0
This means we don't need the get_interfaces_array() vfunc, because we can inspect the GDBusObject interface to find out what our interfaces are.
2014-04-14TpSvcInterfaceSkeleton: move to the -dbus librarySimon McVittie1-1/+2
This requires some careful juggling to make it able to call methods on the TpDBusPropertiesMixin without having to move the entire TpDBusPropertiesMixin to the -dbus library.
2014-04-14Add sliced-gvalue to documentationSimon McVittie1-0/+1
2014-04-10Simplify TpPresenceMixin by removing all support for non-message parametersSimon McVittie1-1/+0
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=77191 Reviewed-by: Xavier Claessens
2014-04-10tp_group_mixin_get_members etc.: remove accessors for membersSimon McVittie1-6/+0
tp_group_mixin_get_local_pending_members_with_info() uses a dbus-glib data type, and none of these are actually used in the five core CMs (they all track members separately in any case). Make them private if used in the implementation, or remove them entirely. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=77190 Reviewed-by: Xavier Claessens
2014-04-08Stop implementing TpSvcDBusProperties interfaceXavier Claessens1-1/+0
GDBusConnection and TpSvcInterfaceSkeleton does it for us already. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=77144 Reviewed-by: Simon McVittie
2014-04-08tp_text_channel_get_message_types, TpTextChannel:message-types: removeSimon McVittie1-1/+0
They have a dbus-glib type, and Empathy exclusively uses tp_text_channel_supports_message_type() instead. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=77139 Reviewed-by: Xavier Claessens
2014-04-08Rename all mentions of handle types to entity typesSimon McVittie1-5/+5
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=77139 Reviewed-by: Xavier Claessens
2014-04-08tp_account_get_avatar_async: rename to _dup_, return GBytes + MIME typeSimon McVittie1-2/+2
Also be (somewhat) cancellable, while I'm there. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=77139 Reviewed-by: Xavier Claessens
2014-04-08Remove tp_message_set in favour of tp_message_set_variantSimon McVittie1-1/+0
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=77139 Reviewed-by: Xavier Claessens
2014-04-08Remove tp_connection_manager_param_get_defaultSimon McVittie1-1/+0
It uses the dbus-glib type system. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=77139 Reviewed-by: Xavier Claessens
2014-04-08TpCapabilities: operate in terms of GVariantSimon McVittie1-2/+1
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=77139 Reviewed-by: Xavier Claessens
2014-04-03Fold the core library into the dbus librarySimon McVittie3-3/+0
tp_dbus_g_method_return_not_implemented is non-essential, so we can easily put it in the -dbus library. tp_proxy_check_interface_by_id should be available in the high-level API, but with a couple of #define hacks we can make it available to generated code in the -dbus library under the same name. tp_proxy_pending_call_v1_new and tp_proxy_signal_connection_v1_new can safely go in the -dbus library: they don't deserve to be part of the high-level API. This reduces us to one shared library per level of API stability, which is exactly the right number. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=76855 Reviewed-by: Xavier Claessens
2014-04-03Move TpSvc* registration code to the -dbus librarySimon McVittie2-2/+2
TpSvcInterfaceInfo encodes the assumption "we emit dbus-glib-style signals" which we don't want to keep forever. If we confine them to the -dbus library, it'll be easier to break its ABI. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=76855 Reviewed-by: Xavier Claessens
2014-04-03Move tp_g_value_slice_* family to dbus librarySimon McVittie1-21/+27
Replace a couple of tp_dbus_check_valid_object_path calls with g_variant_is_object_path to avoid having to move the former into the dbus or core library. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=76855 Reviewed-by: Xavier Claessens
2014-04-03Rename core-util.c to value-array.c and put it in the -dbus librarySimon McVittie2-3/+10
This is basically only useful for the dbus-glib type system. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=76855 Reviewed-by: Xavier Claessens
2014-04-01Add channel-filter to documentationSimon McVittie1-0/+1
2014-04-01Rename remaining tp_dbus_daemon_*() to tp_dbus_connection_*()Xavier Claessens1-5/+5
Also moves their code to dbus.c/h module since their are only GDBusConnection helpers now, not methods on TpDBusDaemon object.
2014-04-01Remove tp_dbus_daemon_get_unique_name()Xavier Claessens1-1/+0
2014-04-01Remove TpDBusDaemon objectXavier Claessens1-55/+1
2014-04-01Replace all occurences of TpDBusDaemon by GDBusConnectionXavier Claessens1-5/+3
This is a huge commit but almost brainless. There is a notable change in tp_tests_proxy_run_until_dbus_queue_processed() to support taking a GDBusConnection instead of a proxy.
2014-04-01tp_client_factory_dup_logger: rename to _ensure_loggerSimon McVittie1-1/+1
2014-04-01TpLogger: Always create from a factoryXavier Claessens1-0/+1
2014-04-01TpConnectionManager: Always create from a factoryXavier Claessens1-1/+2
Also create CM's TpProtocol objects from the factory now that the CM always has one. In protocol-objects test_factory() it changes the cm_name because TpProtocol objects are now shared with TpConnectionManager that keeps a ref on them.
2014-04-01TpDebusClient: Always create from a factoryXavier Claessens1-1/+2
2014-04-01tp_client_factory_dup_channel_dispatcher: rename to _ensure_channel_dispatcherSimon McVittie1-1/+1
2014-04-01TpChannelDispatcher: Always create from a factoryXavier Claessens1-1/+1
Conflicts: docs/reference/telepathy-glib/telepathy-glib-sections.txt telepathy-glib/client-factory.h
2014-04-01tp_client_factory_dup_account_manager: rename to _ensure_account_managerSimon McVittie1-1/+1
Xavier was going for "singletons use _dup_, objects that are per-path use _ensure_" but we agreed that using _ensure_ for both was less confusing.
2014-03-29TpAccountManager: Always create from a factoryXavier Claessens1-4/+2
2014-03-29TpClientFactory: Add getter for its GDBusConnectionXavier Claessens1-0/+1
2014-03-29TpClientFactory: Add a singleton factoryXavier Claessens1-0/+3
tp_client_factory_dup()'s documentation is a preview from what it will be in a future commit. I did not write a temporary documentation in the meantime.
2014-03-27tp_proxy_get_interface_by_id: removeSimon McVittie1-1/+0
2014-03-27TpDBusDaemon: Remove code for listing namesXavier Claessens1-3/+0
The few places where it was used can use GDBusConnection directly Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2014-03-27TpConnection: Remove tp_list_connection_names()Xavier Claessens1-2/+0
Applications should use TpAccountManager to list online accounts. The only user of this function is MissionControl but it can call ListNames itself. Note that example code was even wrong. It says "list installed connection managers" but what is actually do is listing currently running CMs. Conflicts: examples/client/Makefile.am Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2014-03-27TpDBusDaemon: Remove code for watching namesXavier Claessens1-3/+0
GDBusConnection provide similar feature already. Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
2014-03-26Documentation: add tp_dbus_daemon_try_register_objectSimon McVittie1-0/+1
2014-03-26Documentation: remove TpProxyInterfaceAddedCbSimon McVittie1-1/+0