summaryrefslogtreecommitdiff
path: root/telepathy-glib/base-connection-manager.c
AgeCommit message (Collapse)AuthorFilesLines
2014-04-08Stop implementing TpSvcDBusProperties interfaceXavier Claessens1-2/+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-01Rename remaining tp_dbus_daemon_*() to tp_dbus_connection_*()Xavier Claessens1-3/+3
Also moves their code to dbus.c/h module since their are only GDBusConnection helpers now, not methods on TpDBusDaemon object.
2014-04-01Replace all occurences of TpDBusDaemon by GDBusConnectionXavier Claessens1-33/+29
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-03-26Make sure to register object paths *before* taking bus namesSimon McVittie1-10/+17
GDBus requires us to be much more careful about this than dbus-glib did.
2014-03-26Update documentation: we no longer use the starter busSimon McVittie1-1/+1
2014-03-26Replace trivial uses of DBusGMethodInvocation with GDBusMethodInvocationSimon McVittie1-2/+2
Mostly done with perl/sed one-liners.
2013-11-11Replace im.telepathy1 with im.telepathy.v1Simon McVittie1-1/+1
This also fixes a few uses of im.telepathy1 in object paths in Logger code, which was presumably a misuse of sed. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=71262 Reviewed-by: Xavier Claessens <xavier.claessens@collabora.co.uk>
2013-09-17set version annotationsSimon McVittie1-1/+1
2012-08-31Merge branch 'master' into nextJonny Lamb1-2/+2
Conflicts: configure.ac telepathy-glib/abi.am telepathy-glib/base-client.c telepathy-glib/base-connection.c telepathy-glib/codegen.am telepathy-glib/contact.c Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2012-07-19set UNRELEASED versionstelepathy-glib-0.19.4Guillaume Desmottes1-2/+2
2012-07-10Fix some gtk-doc errorsXavier Claessens1-5/+0
2012-07-10Merge branch 'master' into nextXavier Claessens1-4/+65
Conflicts: configure.ac telepathy-glib/abi.am telepathy-glib/account.h telepathy-glib/automatic-proxy-factory.c telepathy-glib/base-channel.h telepathy-glib/base-client.c telepathy-glib/base-connection-manager.c telepathy-glib/base-connection-manager.h telepathy-glib/base-connection.c telepathy-glib/client-channel-factory.c telepathy-glib/connection.h tests/dbus/connection-balance.c tests/dbus/protocol-objects.c tests/lib/bug16307-conn.c tests/lib/contacts-conn.c tests/lib/echo-cm.c tests/lib/echo-conn.c
2012-07-05base-connection{,-manager}: seal old interfaces membersJonny Lamb1-2/+0
gtk-doc gets confused, so they've been removed from the docs. See also: e8f9a27a388e21 Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2012-07-04base-connection-manager: add get_interfaces vfunc to class structJonny Lamb1-4/+67
This is a lot like 74bd945252. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2012-06-28Release 0.19.2telepathy-glib-0.19.2Xavier Claessens1-1/+1
2012-06-26TpBaseConnectionManagerClass: Seal protocol_params and new_connection membersXavier Claessens1-1/+2
Those 2 struct members are now deprecated and implementations should use TpBaseProtocol API instead.
2012-06-26TpBaseConnectionManager: remove legacy protocolsXavier Claessens1-207/+1
Usage of TpBaseProtocol is now mandatory
2012-05-07Don't include svc-*.h in "high-level" headersSimon McVittie1-0/+1
This involves a small loss of type-safety in TpBaseContactList, but in practice the iface_init methods are used in a context that has casts anyway, so there's no real loss. This has the side-effect that we have to include dbus-properties-mixin.h more often, because svc-connection.h indirectly included that. Reviewed-by: Xavier Claessens <xavier.claessens@collabora.co.uk>
2012-05-03Merge branch 'master' into nextSimon McVittie1-3/+3
Conflicts: configure.ac telepathy-glib/account-channel-request.h telepathy-glib/account-manager.h telepathy-glib/account.h telepathy-glib/automatic-client-factory.h telepathy-glib/automatic-proxy-factory.h telepathy-glib/base-client.h telepathy-glib/base-connection.c telepathy-glib/base-contact-list.c telepathy-glib/basic-proxy-factory.h telepathy-glib/channel-contacts.c telepathy-glib/channel-factory-iface.h telepathy-glib/channel-request.h telepathy-glib/channel.h telepathy-glib/cm-message.h telepathy-glib/connection-manager.h telepathy-glib/connection.h telepathy-glib/contact-list-channel.c telepathy-glib/contact.c telepathy-glib/contact.h telepathy-glib/dbus-properties-mixin-internal.h telepathy-glib/dbus.c telepathy-glib/dbus.h telepathy-glib/debug.h telepathy-glib/defs.h telepathy-glib/errors.h telepathy-glib/media-interfaces.c telepathy-glib/message-mixin.c telepathy-glib/message.h telepathy-glib/presence-mixin.c telepathy-glib/properties-mixin.c telepathy-glib/proxy.h telepathy-glib/simple-approver.h telepathy-glib/simple-client-factory.h telepathy-glib/simple-handler.h telepathy-glib/simple-observer.h telepathy-glib/text-mixin.c telepathy-glib/text-mixin.h tests/dbus/account-channel-request.c tests/dbus/channel-introspect.c tests/dbus/connection-aliasing.c tests/dbus/connection-balance.c tests/dbus/connection-error.c tests/dbus/connection-getinterfaces-failure.c tests/dbus/connection-interests.c tests/dbus/connection.c tests/dbus/contact-lists.c tests/dbus/self-presence.c tests/dbus/text-mixin.c tests/lib/contact-list-manager.c
2012-05-02Stop using TP_ERRORSSimon McVittie1-3/+3
We deprecated this in 0.11.
2012-05-02Move -dbus library headers into a new telepathy-glib-dbus.h meta-headerSimon McVittie1-0/+3
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49377 Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Reviewed-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2012-04-06many fixes to documentation commentsJonny Lamb1-6/+6
fd.o#48363 was opened which complains about lots of documentation problems (which g-ir-scanner finds). While I was at it I did some grepping to find yet more problems. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2012-03-02Merge branch 'master' into next, and update to merged specSimon McVittie1-2/+1
Conflicts: configure.ac docs/reference/telepathy-glib-sections.txt examples/cm/Makefile.am examples/cm/call/example_call.manager examples/future/call-cm/call-channel.c examples/future/call-cm/call-content.c extensions/call-content.xml spec/Account_Manager.xml spec/Call_Content.xml spec/Call_Content_Interface_Audio_Control.xml spec/Call_Content_Interface_Media.xml spec/Call_Content_Interface_Video_Control.xml spec/Call_Content_Media_Description.xml spec/Call_Content_Media_Description_Interface_RTCP_Extended_Reports.xml spec/Call_Content_Media_Description_Interface_RTCP_Feedback.xml spec/Call_Content_Media_Description_Interface_RTP_Header_Extensions.xml spec/Call_Interface_Mute.xml spec/Call_Stream.xml spec/Call_Stream_Endpoint.xml spec/Call_Stream_Interface_Media.xml spec/Channel.xml spec/Channel_Interface_Addressing.xml spec/Channel_Interface_DTMF.xml spec/Channel_Type_Call.xml spec/Connection_Interface_Addressing.xml spec/Connection_Interface_Contact_List.xml spec/Connection_Manager.xml spec/Makefile.am spec/Protocol.xml spec/Protocol_Interface_Addressing.xml spec/all.xml telepathy-glib/abi.am telepathy-glib/channel-factory-iface.c telepathy-glib/channel-request.c telepathy-glib/channel.c telepathy-glib/channel.xml telepathy-glib/signals-marshal.list tests/dbus/Makefile.am tests/dbus/call-example.c tests/lib/bug16307-conn.c tests/lib/echo-channel-manager-conn.c tests/lib/echo-conn.c tests/lib/simple-conn.c Acked-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2012-03-01Use GLib's default marshaller everywhereSimon McVittie1-2/+1
In contrast to the previous commit, I'm just using NULL here - telepathy-glib has an explicit dependency on GLib 2.30. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=46523 Reviewed-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2012-02-09Merge branch 'master' into nextSimon McVittie1-0/+2
Conflicts: examples/cm/callable/conn.c examples/cm/callable/connection-manager.c examples/cm/callable/media-channel.c examples/cm/callable/media-manager.c examples/cm/callable/media-stream.c examples/cm/callable/protocol.c telepathy-glib/channel-factory-iface.c telepathy-glib/contact-list-channel.c telepathy-glib/media-interfaces.c telepathy-glib/properties-mixin.c telepathy-glib/text-mixin.c tests/dbus/callable-example.c tests/dbus/connection-getinterfaces-failure.c tests/dbus/connection-inject-bug16307.c tests/dbus/contacts-slow-path.c tests/dbus/text-mixin.c tests/lib/bug16307-conn.c tests/lib/echo-channel-manager-conn.c
2012-02-06Add config.h include in all source filesXavier Claessens1-0/+2
2012-01-31spec: update to newest 'next' specJonny Lamb1-1/+1
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2012-01-31connection-manager: remove deprecated methodsJonny Lamb1-92/+0
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2011-11-16Use _unref instead of _free _destroy when possible.Xavier Claessens1-5/+5
Replace g_(ptr_)array_free (foo, TRUE) and g_hash_table_destroy with respectively g_(ptr_)array_unref (foo) and g_hash_table_unref. I used this command to generate this patch: for f in `find -name "*.c"`; do sed -i $f -re 's/g_ptr_array_free \(([^ ,]+), TRUE\)/g_ptr_array_unref \(\1\)/'; done See Danielle's blog for explanation of possible bug _free can do: http://blogs.gnome.org/danni/2011/11/16/mistakes-with-g_value_set_boxed/
2011-05-26Improve the “CM already running” error message.Will Thompson1-1/+3
Reviewed-by: Vivek Dasmohapatra <vivek@collabora.co.uk>
2010-12-06Merge branches '012-base-cm-shutdown' and '012-leaked-protocol' into ↵Simon McVittie1-2/+5
telepathy-glib-0.12 Reviewed-by: Jonny Lamb <jonny.lamb@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=32116
2010-12-06TpBaseConnectionManager: ref the CM once per ConnectionSimon McVittie1-5/+13
Some Salut test failures can apparently cause the Connection to outlive the CM, causing a crash when it emits no-more-connections.
2010-12-06fd.o #32116: tp_base_connection_manager_register: don't leak protocol refsSimon McVittie1-2/+5
2010-10-06Remove redundant trailing semicolons from G_DEFINE_TYPE etc.Simon McVittie1-1/+1
ISO C forbids them, and they're an easy thing to get rid of.
2010-09-14Change uses of TpIntSet to TpIntsetPhilip Withnall1-3/+3
2010-07-26Prepare version 0.11.11telepathy-glib-0.11.11Simon McVittie1-4/+4
2010-07-15tp_base_connection_manager_register: check for valid protocol namesSimon McVittie1-0/+6
2010-07-15TpBaseConnectionManager: correctly replace "-" with "_" in TpBaseProtocol ↵Simon McVittie1-0/+2
object paths
2010-07-15tp_base_connection_manager_add_protocol: use tp_base_protocol_get_nameSimon McVittie1-7/+3
2010-06-29TpBaseConnectionManager: implement the keys of ProtocolsSimon McVittie1-6/+9
2010-06-29TpBaseConnection: implement a stub form of the Protocols propertySimon McVittie1-0/+38
2010-06-29TpBaseConnection: implement the Interfaces propertySimon McVittie1-2/+39
2010-06-29Export non-stub TpBaseProtocol instances on D-BusSimon McVittie1-0/+22
2010-06-29_TpLegacyProtocol: remove filtering/sanity-checking which is now done more ↵Simon McVittie1-66/+1
generally
2010-06-29TpBaseConnectionManager: allow new_connection and protocol_params to both be ↵Simon McVittie1-11/+16
NULL
2010-06-29tp_base_connection_manager_list_protocols: implement in terms of the ↵Simon McVittie1-12/+13
protocols hash table
2010-06-29TpBaseConnectionManager: delegate creation of a new connection to Protocol ↵Simon McVittie1-62/+78
objects
2010-06-29TpBaseConnectionManager: get TpCMParamSpec structures via Protocol objectsSimon McVittie1-6/+40
2010-06-29Add an internal _TpLegacyProtocol class, and make one for each protocolSimon McVittie1-0/+50
2010-06-29TpBaseConnectionManager: have a table of TpBaseProtocol objectsSimon McVittie1-0/+37