summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-04-08TpExportableChannel: turn channel-properties into a GVariantrm-dbus-glib-properties1Simon McVittie10-42/+75
2014-04-08TpBaseConnectionManager:protocols: removeSimon McVittie1-54/+73
It has a dbus-glib type, and by not using tp_dbus_properties_mixin_getter_gobject_properties(), we can avoid it. It is not used in Folks, Empathy, MC or the "big 5" CMs.
2014-04-08TpBaseConnection:dbus-status, TpBaseConnection:requestable-channel-classes: ↵Simon McVittie1-44/+1
remove They are not used in Folks, Empathy, MC or the "big 5" CMs, except for one use of dbus-status in helper code for Folks' regression tests (which will disappear when resynced from telepathy-glib).
2014-04-08TpBaseConnection: stop using ↵Simon McVittie1-7/+52
tp_dbus_properties_mixin_getter_gobject_properties() Using that tied us to having a GDBus property whose type matches the dbus-glib type, which is API we don't want.
2014-04-08simple-conn: don't reimplement dbus-statusSimon McVittie1-15/+1
This used to be done so we could emulate a connection manager older than telepathy-spec 0.19.2, but that functionality was removed in commit 347307b7.
2014-04-08self-handle test: go back to reimplementing TpSvcDBusPropertiesgdbus-properties2Simon McVittie1-35/+125
The timing requirements for test_change_inconveniently() are very specific, and on my laptop, using the GDBus filter wasn't good enough (probably because looping on g_main_context_iteration() runs a whole iteration and cannot be stopped halfway through). I could usually reproduce a test failure by running the telepathy-glib tests in parallel with the telepathy-gabble tests.
2014-04-07tp_dbus_connection_try_register_object: re-allow TP_TYPE_SVC_DBUS_PROPERTIESSimon McVittie1-8/+0
MC still needs this.
2014-04-07Stop implementing TpSvcDBusProperties interfaceXavier Claessens24-129/+7
GDBusConnection and TpSvcInterfaceSkeleton does it for us already.
2014-04-07TpSvcInterfaceSkeleton: Handle Get/Set propertyXavier Claessens2-3/+76
We prevent TpSvcDBusProperties interface to be registered so GDBusConnection will handle that itself using skeleton's vtable.
2014-04-07TpDBusPropertiesMixin: Emit PropertiesChanged signal using GDBusConnection ↵Xavier Claessens3-8/+52
directly We are about to stop exporting TpSvcDBusProperties iface so they would be no-op.
2014-04-07TpTestsSimpleConn: Stop using tp_svc_dbus_properties_*()Xavier Claessens2-44/+21
We are about to stop exporting TpSvcDBusProperties iface so they would be no-op.
2014-04-07test-cm: Stop using tp_svc_dbus_properties_*()Xavier Claessens1-71/+48
We are about to stop exporting TpSvcDBusProperties iface so they would be no-op.
2014-04-07TpTestsSimpleAccount: Stop using tp_svc_dbus_properties_*()Xavier Claessens1-14/+2
We are about to stop exporting TpSvcDBusProperties iface so they would be no-op.
2014-04-07test-disconnection: Stop using tp_svc_dbus_properties_*()Xavier Claessens1-8/+14
We are about to stop exporting TpSvcDBusProperties iface so they would be no-op.
2014-04-07_tpl_conf_get_ignorelist: fix g-i markupnext-gvariant1Simon McVittie1-1/+2
2014-04-07Add API breaks to NEWSSimon McVittie1-1/+34
2014-04-07tp_text_channel_get_message_types, TpTextChannel:message-types: removeSimon McVittie5-68/+0
They have a dbus-glib type, and Empathy exclusively uses tp_text_channel_supports_message_type() instead.
2014-04-07TpObserveChannelContext:observer-info: change type to GVariantSimon McVittie4-22/+22
2014-04-07TpChannel, TpChannelIface: disentangle their documentationSimon McVittie2-31/+10
2014-04-07Sort main-1.0.abi via `LC_ALL=C sort -u` for easier diffsSimon McVittie1-12/+12
2014-04-07Rename all mentions of handle types to entity typesSimon McVittie41-280/+280
2014-04-07TpChannel::group-members-changed: change details GHashTable to GVariantSimon McVittie5-36/+53
2014-04-07TpChannel:channel-properties: change type to GVariantSimon McVittie15-42/+44
It's still a GHashTable internally, because lots of subclasses still rely on that.
2014-04-07channel-introspect: make a test more realisticSimon McVittie1-9/+15
We're using an Entity_Type_None (nameless chatroom) channel, but claiming in its immutable properties that it has a non-empty target of type Contact. That means we're effectively making assertions about whether the immutable properties we specified at the beginning, or the result of GetAll(), will "win", which makes this test unnecessarily brittle.
2014-04-07TpChannel: stop implementing TpChannelIface, and make those properties read-onlySimon McVittie8-37/+42
Implementing TpChannelIface meant that channel-type, handle-type and handle had to be settable at construct-time. That is no longer a supported thing to do: everyone should be using the immutable properties dict.
2014-04-07TpChannelDispatcher: store immutable properties as a GVariant internallySimon McVittie1-122/+123
2014-04-07TpChannelDispatchOperation: make the external API GVariant-basedSimon McVittie5-37/+72
The implementation is really simplistic, and copies everything into dbus-glib data types.
2014-04-07tp_account_get_avatar_async: rename to _dup_, return GBytes + MIME typeSimon McVittie5-59/+84
Also be (somewhat) cancellable, while I'm there.
2014-04-07TpAccountRequest:avatar: change from GArray<guchar> to GBytesSimon McVittie2-13/+15
2014-04-07Remove tp_message_set in favour of tp_message_set_variantSimon McVittie5-38/+14
2014-04-07Remove tp_connection_manager_param_get_defaultSimon McVittie6-212/+184
It uses the dbus-glib type system.
2014-04-07TpCapabilities: operate in terms of GVariantSimon McVittie11-622/+356
2014-04-07TpAccount:connection-error-details, TpAccount::status-changed: use GVariantSimon McVittie1-41/+36
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=76369
2014-04-07Remove obsolete contact-list-channel-internal.hSimon McVittie1-119/+0
The contact list mixin doesn't need channels any more.
2014-04-07make-version-script: output symbols in sorted order for easier diffingSimon McVittie1-5/+5
2014-04-07contacts/subscription-states test: redesign to fix a race conditionSimon McVittie1-28/+63
Under GDBus, we can receive more than one signal in the same iteration of the main loop. I missed this instance in my initial GDBus port because it's inconsistent and hard to reproduce, but it's the same anti-pattern: we're waiting for two signals that both happen as a result of the same action: signal_cb (...) { g_main_loop_quit (loop); } ... test (...) { ... g_main_loop_run (loop); ... things without side-effects ... g_main_loop_run (loop); ... } I think it's better style for test code to be more explicit and have less spooky-action-at-a-distance, anyway.
2014-04-03nano versionSimon McVittie2-1/+6
2014-04-03Upload telepathy-logger docs, tooSimon McVittie1-0/+2
2014-04-030.99.10Simon McVittie11-20/+44
2014-04-03more NEWSSimon McVittie1-1/+9
2014-04-03Fold the core library into the dbus librarySimon McVittie53-177/+116
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 error codes and all GEnum types to main librarySimon McVittie4-14/+11
Now that tp_dbus_g_method_return_not_implemented() uses g_dbus_method_invocation_return_dbus_error() to avoid depending on a particular GError, these don't have to be core. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=76855 Reviewed-by: Xavier Claessens
2014-04-03Move TpSvc* registration code to the -dbus librarySimon McVittie17-155/+118
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-03Split gnio-util.h into the Telepathy D-Bus API part, and the GIO partSimon McVittie12-560/+662
The Telepathy D-Bus API part (the exact details of how we encode addresses) should go in the -dbus library; the GIO part should go in the main library. Use GIOError instead of TpError in the -dbus part, so TpError won't need to stay in the core library. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=76855 Reviewed-by: Xavier Claessens
2014-04-03Move tp_asv_to_vardict, tp_asv_from_vardict to dbus librarySimon McVittie14-51/+75
These functions should be useless in a post-dbus-glib environment. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=76855 Reviewed-by: Xavier Claessens
2014-04-03Move dbus-glib-style a{sv} utilities into the dbus librarySimon McVittie72-1370/+1511
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 McVittie38-553/+655
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 McVittie45-32/+129
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-03NEWS for the move to GDBus and the removal of TpDBusDaemonSimon McVittie1-1/+40
2014-04-01Restore lost test coverage from get-interface-after-invalidate testnext-factorySimon McVittie1-1/+22