summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-04-17Stop putting TpDBusPropertiesMixinClass in class structsgdbus-objectSimon McVittie3-29/+12
We could have included <telepathy-glib/telepathy-glib-dbus.h> instead, but this seems nicer.
2014-04-08Rewrite the protocol name for local-xmpp accounts created by Telepathy1nextSimon McVittie1-0/+12
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=77029 Reviewed-by: Xavier Claessens
2014-04-08Stop using tp_dbus_properties_mixin_iface_init which has been removedSimon McVittie2-6/+2
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=77144
2014-04-08McpRequest: use GVariant for the requested propertiesSimon McVittie5-18/+14
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=77139
2014-04-08McpDispatchOperation: use GVariant for the channel's propertiesSimon McVittie5-55/+32
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=77139
2014-04-08McpAccountStorage: use GVariant instead of dbus-glib typesSimon McVittie4-99/+68
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=77139
2014-04-08change terminology from "handle type" to "entity type"Simon McVittie8-17/+19
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=77139
2014-04-08Adapt for removal of tp_connection_manager_param_get_defaultSimon McVittie1-2/+19
This is far from the best possible implementation, but it unblocks us. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=77139
2014-04-03restart developmentSimon McVittie2-1/+6
2014-04-035.99.10Simon McVittie2-17/+17
2014-04-02mc-debug-server: if we have several reasons to stop, don't crashSimon McVittie1-4/+17
Previously, when the session and (fake) system bus closed (simultaneously, because they are in fact the same dbus-daemon), we would call mcd_mission_abort() for the first one. That results in a call to tp_clear_object (&mcd), and then the second call to mcd_mission_abort (mcd) would crash with a critical warning, because MCD_IS_MISSION (NULL) is false.
2014-04-01Remove references to TpDBusDaemonnext-factory2Simon McVittie11-129/+43
2014-04-01McdManager: use tp_client_factory_ensure_connection_managerSimon McVittie1-3/+2
2014-04-01mc-tool: use the global singleton client factorySimon McVittie1-12/+4
2014-04-01McdClientRegistry: stop having a TpDBusDaemonSimon McVittie4-36/+14
2014-04-01McdClientRegistry: use GDBus to call ListNames, ListActivatableNamesSimon McVittie1-27/+57
Previously we were using the "weak object" mechanism, whereas now we're holding a ref for the duration of the calls.
2014-04-01McdHandlerMap: have a TpClientFactory instead of a TpDBusDaemonSimon McVittie3-18/+19
2014-04-01McdClientProxy: have a factorySimon McVittie3-4/+6
2014-04-01McdClientRegistry: have a TpClientFactorySimon McVittie3-8/+32
2014-04-01Pass TpClientFactory to McdDispatcherSimon McVittie3-9/+28
2014-04-01mcp-plugin: avoid TpDBusDaemon, just use g_bus_get_sync()Simon McVittie1-6/+15
2014-04-01McdAccount: have a construct-only factory and demote dbus-daemon to readableSimon McVittie1-6/+20
2014-04-01mcd_account_manager_get_dbus_daemon: replace with ↵Simon McVittie3-12/+8
mcd_account_manager_get_factory
2014-04-01McdMaster: take a TpClientFactory at construct-timeSimon McVittie2-7/+22
We don't want the shared singleton (tp_client_factory_dup()) because it constructs specialized TpChannel subclasses, and we'd rather have the base class. Similarly, if a plugin asks for extra features on the shared singleton, MC actively doesn't want them.
2014-03-27McdAccountManager: replace tp_list_connection_names with direct GDBus callsnext-gdbusSimon McVittie1-24/+46
Also use a direct GDBus call to disconnect stray connections, rather than making a temporary proxy for the purpose.
2014-03-27McdHandlerMap: add some assertions for claritySimon McVittie1-0/+17
2014-03-27McdHandlerMap: use g_bus_watch_name_on_connectionSimon McVittie1-61/+46
2014-03-27wait-for-name: use GDBus directlySimon McVittie1-31/+57
2014-03-27McdClient: replace tp_dbus_daemon_watch_name_owner with ↵Simon McVittie1-13/+29
g_bus_watch_name_on_connection
2014-03-27sync_dbus: support being called on a CM, tooSimon McVittie1-0/+6
2014-03-27McdDispatchOperation: don't run approvers if we already have a resultSimon McVittie1-10/+11
It seems that under GDBus' changed timing, we can have this sequence of events: * decide that we're ready to run approvers, scheduling it to happen in a high-priority idle * receive and process the Claim method call, which finishes the dispatch operation * run the idle
2014-03-27tests: make sure to specify a D-Bus interface for method callsSimon McVittie3-4/+4
GDBus doesn't implement method calls that lack an explicit interface. This is A Good Thing™.
2014-03-27mc-debug-server: hold a reference to the debug senderSimon McVittie1-0/+4
It seems we were instantiating it once per debug message. Oops. (The real Mission Control got this right, though.)
2014-03-27mc-debug-server: export a GDBus interface rather than a libdbus filterSimon McVittie2-58/+70
This changes it from effectively being exported at every object path to being exported at one object path. I've chosen the AccountManager object path, since that's where I put the MC pseudo-object in the test suite in an earlier commit.
2014-03-27mc-debug-server: use GDBus to watch for disconnectionSimon McVittie1-12/+24
2014-03-27TestPermissionPluginClass etc.: adapt for GDBusSimon McVittie1-194/+61
Consolidate PermissionContext and RequestPermissionContext rather than using two very similar structs and code paths.
2014-03-27McdStorage: rewrite unique_name to avoid dbus_g_connection_lookup_g_objectSimon McVittie1-12/+4
If we don't have an account in the McdStorage, its object path won't be in use.
2014-03-27McdMaster: don't force exit-on-disconnect onSimon McVittie1-5/+0
It's on by default in both libdbus and GDBus, so this was unnecessary even with dbus-glib, and there's no point in porting it.
2014-03-27McdConnection: rewrite translate_g_error() using g_dbus_error_encode_gerror()Simon McVittie1-31/+5
2014-03-27McdConnection: tp_connection_init_known_interfaces() no longer existsSimon McVittie1-2/+0
2014-03-27McdConnection: use g_dbus_connection_call() for simple Disconnect callSimon McVittie1-7/+3
2014-03-27Use tp_dbus_daemon_register_object to register object pathsSimon McVittie4-27/+10
Also make sure to register object paths before their corresponding bus names.
2014-03-27Use g_dbus_method_invocation_get_senderSimon McVittie2-8/+5
2014-03-27McdClientRegistry: use GDBus to watch for NameOwnerChangedSimon McVittie2-63/+28
Depend on D-Bus 1.6 for arg0namespace (I'm assuming here that the dbus-daemon version matches the libdbus version).
2014-03-27Replace dbus_g_method_return_error with g_dbus_method_invocation_return_gerrorSimon McVittie6-22/+22
2014-03-27replace DBusGMethodInvocation with GDBusMethodInvocationSimon McVittie10-40/+40
2014-03-27telepathy.am: update for out-of-tree releasesSimon McVittie1-1/+1
2014-03-27Use the AccountManager object path to call AbortSimon McVittie1-1/+1
I moved the MC "object" to point to that path already, and in a later commit I'll change the debug API from being exposed at all object paths to only that one object path.
2014-03-27mctest: use the AccountManager path for 'MC' object so we can use sync_dbusSimon McVittie1-1/+3
It needs to be an object path at which we export a known interface with properties.
2014-03-27sync_dbus: work around GNOME #726259Simon McVittie1-7/+20