summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
2014-04-01TpProxyClass: disobeying must_have_unique_name is programming errorSimon McVittie1-2/+3
2014-04-01Add channel-filter to documentationSimon McVittie1-0/+1
2014-04-01Rename remaining tp_dbus_daemon_*() to tp_dbus_connection_*()Xavier Claessens48-662/+589
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 Claessens9-27/+5
2014-04-01Remove TpDBusDaemon objectXavier Claessens16-363/+7
2014-04-01Replace all occurences of TpDBusDaemon by GDBusConnectionXavier Claessens100-784/+480
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-01Stop passing a TpDBusDaemon to TpProxy and subclassesXavier Claessens23-34/+4
2014-04-01TpClientFactory: Fix documentation for custom singletonXavier Claessens1-4/+4
2014-04-01Rename _new_with_factory() to simply _new()Xavier Claessens21-127/+61
Proxies are not always created with a factory so it's not a special constructor anymore. This also removes the TpDBusDaemon argument because TpProxy::constructed will fill it itself from the factory anyway.
2014-04-01TpProxy: Assert that we have a factoryXavier Claessens1-28/+27
We can also deduct the TpDBusDaemon and GDBusConnection from the factory.
2014-04-01Tests: Pass a factory to all TpProxy instancesXavier Claessens11-32/+80
Lots of tests creates plain TpProxy instances, they need a factory as well because TpProxy::constructed will soon start to assert that it got a factory.
2014-04-01Farstream: Propagate the call channel's factory to other TpProxy instancesXavier Claessens2-0/+2
2014-04-01TpProxy: Remove now unused _tp_proxy_ensure_factory()Xavier Claessens2-24/+0
2014-04-01Use constructed instead of constructor in TpProxy and subclassesXavier Claessens4-66/+41