Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2014-04-01 | Restore lost test coverage from get-interface-after-invalidate testnext-factory | Simon McVittie | 1 | -1/+22 | |
2014-04-01 | TpProxyClass: disobeying must_have_unique_name is programming error | Simon McVittie | 1 | -2/+3 | |
2014-04-01 | Add channel-filter to documentation | Simon McVittie | 1 | -0/+1 | |
2014-04-01 | Rename remaining tp_dbus_daemon_*() to tp_dbus_connection_*() | Xavier Claessens | 48 | -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-01 | Remove tp_dbus_daemon_get_unique_name() | Xavier Claessens | 9 | -27/+5 | |
2014-04-01 | Remove TpDBusDaemon object | Xavier Claessens | 16 | -363/+7 | |
2014-04-01 | Replace all occurences of TpDBusDaemon by GDBusConnection | Xavier Claessens | 100 | -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-01 | Stop passing a TpDBusDaemon to TpProxy and subclasses | Xavier Claessens | 23 | -34/+4 | |
2014-04-01 | TpClientFactory: Fix documentation for custom singleton | Xavier Claessens | 1 | -4/+4 | |
2014-04-01 | Rename _new_with_factory() to simply _new() | Xavier Claessens | 21 | -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-01 | TpProxy: Assert that we have a factory | Xavier Claessens | 1 | -28/+27 | |
We can also deduct the TpDBusDaemon and GDBusConnection from the factory. | |||||
2014-04-01 | Tests: Pass a factory to all TpProxy instances | Xavier Claessens | 11 | -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-01 | Farstream: Propagate the call channel's factory to other TpProxy instances | Xavier Claessens | 2 | -0/+2 | |
2014-04-01 | TpProxy: Remove now unused _tp_proxy_ensure_factory() | Xavier Claessens | 2 | -24/+0 | |
2014-04-01 | Use constructed instead of constructor in TpProxy and subclasses | Xavier Claessens | 4 | -66/+41 | |
2014-04-01 | tp_client_factory_dup_logger: rename to _ensure_logger | Simon McVittie | 4 | -5/+5 | |
2014-04-01 | TpLogger: Always create from a factory | Xavier Claessens | 5 | -27/+54 | |
2014-04-01 | TpConnectionManager: Always create from a factory | Xavier Claessens | 14 | -79/+145 | |
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-01 | TpConnectionManager: Take a factory to list CMs | Xavier Claessens | 6 | -20/+31 | |
The factory will be used to create TpConnectionManager objects in the next commit | |||||
2014-04-01 | TpDebusClient: Always create from a factory | Xavier Claessens | 8 | -25/+53 | |
2014-04-01 | tp_client_factory_dup_channel_dispatcher: rename to _ensure_channel_dispatcher | Simon McVittie | 7 | -9/+9 | |
2014-04-01 | TpChannelDispatcher: Always create from a factory | Xavier Claessens | 11 | -28/+49 | |
Conflicts: docs/reference/telepathy-glib/telepathy-glib-sections.txt telepathy-glib/client-factory.h | |||||
2014-04-01 | tp_client_factory_dup_account_manager: rename to _ensure_account_manager | Simon McVittie | 5 | -6/+7 | |
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-29 | TpAccountManager: Always create from a factory | Xavier Claessens | 9 | -171/+67 | |
2014-03-29 | TpClientFactory: Add getter for its GDBusConnection | Xavier Claessens | 3 | -0/+21 | |
2014-03-29 | TpClientFactory: Add a singleton factory | Xavier Claessens | 3 | -0/+107 | |
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-29 | TpClientFactory: Simplify TpProtocol code | Xavier Claessens | 3 | -44/+32 | |
2014-03-27 | Logger: read the right schemanext-after-gdbus | Simon McVittie | 1 | -1/+1 | |
2014-03-27 | telepathy-logger: rename the daemon to a versioned name | Simon McVittie | 3 | -4/+6 | |
2014-03-27 | Logger: rename schema to be parallel-installable | Simon McVittie | 3 | -3/+3 | |
The schema ID already didn't correspond to the path. | |||||
2014-03-27 | tp_run_connection_manager: disable exit-on-close for CMs | Simon McVittie | 1 | -0/+3 | |
2014-03-27 | Add a comment to clarify how tp_dbus_daemon_unregister_object() works | Simon McVittie | 1 | -0/+2 | |
2014-03-27 | tp_dbus_daemon_try_register_object: avoid GSList | Simon McVittie | 1 | -4/+4 | |
The space optimization is hardly relevant here. "I think GSList's only purpose is making your app crash if you use g_list_free on it" -xclaesse | |||||
2014-03-27 | tp_proxy_get_interface_by_id: remove | Simon McVittie | 5 | -74/+10 | |
2014-03-27 | TpDBusDaemon: Remove code for listing names | Xavier Claessens | 4 | -108/+0 | |
The few places where it was used can use GDBusConnection directly Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk> | |||||
2014-03-27 | Tests: Use GDBusConnection directly to list activatable names | Xavier Claessens | 1 | -8/+20 | |
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk> | |||||
2014-03-27 | TpConnectionManager: Use GDBusConnection directly to call ListNames | Xavier Claessens | 1 | -253/+120 | |
This rewrites tp_list_connection_managers_async() to simplify the implementation. Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk> | |||||
2014-03-27 | TpConnection: Remove tp_list_connection_names() | Xavier Claessens | 6 | -241/+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-27 | TpDBusDaemon: Remove code for watching names | Xavier Claessens | 5 | -617/+1 | |
GDBusConnection provide similar feature already. Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk> | |||||
2014-03-27 | TpBaseConnection: Re-implement client interest using GDBusConnection | Xavier Claessens | 1 | -161/+126 | |
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk> | |||||
2014-03-27 | Tests: Use GDBusConnection directly to watch name | Xavier Claessens | 1 | -5/+9 | |
[explicitly cancel the watch -smcv] Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk> | |||||
2014-03-27 | TpDebugClient: Use GDBusConnection directly to watch name | Xavier Claessens | 1 | -24/+22 | |
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk> | |||||
2014-03-27 | TpConnectionManager: Use GDBusConnection directly to watch name | Xavier Claessens | 1 | -68/+78 | |
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk> | |||||
2014-03-27 | TpAccountManager: use GDBusConnection directly to watch name | Xavier Claessens | 1 | -19/+17 | |
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk> | |||||
2014-03-26 | Debug sender: avoid using codegen for signal emissionnext-gdbus | Simon McVittie | 1 | -2/+37 | |
At the moment telepathy-glib has a lot of g_debug() while we're debugging the new GDBus-based implementations, so the codegen's signal emissions do a g_debug(), which triggers a g_debug(), and so on. | |||||
2014-03-26 | TpProxy: strip detailed error name from error->message if domain is known | Simon McVittie | 1 | -0/+4 | |
Some of the Mission Control tests assert that particular error messages are passed-through nicely, which caught this. | |||||
2014-03-26 | name owner watching: more debug, and use a free-function to free watches | Simon McVittie | 1 | -13/+20 | |
Several Mission Control tests crash when trying to add more callbacks to a _NameOwnerWatch that has not been removed from the hash table after calling _tp_dbus_daemon_stop_watching(). It's not clear to me how that can happen, but turning _tp_dbus_daemon_stop_watching() into an ordinary free-function ensures that "remove it from the hash table" and "free it" happen in the right order. | |||||
2014-03-26 | Update ABI files for GDBus branch, and sort with LC_ALL=C | Simon McVittie | 3 | -85/+193 | |
The majority of the changes are because the new codegen generates extern symbols for the _return_from_ family of functions. | |||||
2014-03-26 | document TpProxyWrapperFunc | Simon McVittie | 1 | -0/+16 | |
2014-03-26 | Document tp_proxy_pending_call_v1_new | Simon McVittie | 1 | -0/+30 | |