summaryrefslogtreecommitdiff
path: root/telepathy-glib/base-client.c
Commit message (Collapse)AuthorAgeFilesLines
* prepare 0.19.10telepathy-glib-0.19.10Guillaume Desmottes2012-09-261-3/+3
|
* tp_base_client_add_observer_filter_vardict etc.: addSimon McVittie2012-09-261-0/+98
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=55100
* prepare 0.19.9 releasetelepathy-glib-0.19.9Xavier Claessens2012-09-111-4/+4
|
* TpBaseClient: Deprecate _get_ functions returning a GList and replace them ↵Xavier Claessens2012-09-051-4/+55
| | | | | | | | by _dup_ New transfer and naming policy has been discussed in https://bugs.freedesktop.org/show_bug.cgi?id=39189 and is documented there: http://telepathy.freedesktop.org/wiki/Style/TelepathyGLib
* Modernise GList usageXavier Claessens2012-09-051-2/+1
| | | | We can use g_list_free_full and (_tp_)g_list_copy_deep in more places
* Set the ChannelRequests immutable properties when observer channelsSjoerd Simons2012-08-301-1/+8
| | | | | | | When ObserveChannels comes in we are given all the immutable properties for the statisfied requests straight away, so lets use them as well. This prevents poor application authors from being confused about their hints not coming through in their observer.
* Set the ChannelRequests immutable properties when handling channelsSjoerd Simons2012-08-301-1/+10
| | | | | | | When HandleChannels comes in we are given all the immutable properties for the statisfied requests straight away, so lets use them as well. This prevents poor application authors from being confused about their hints not coming through in their handler.
* TpBaseClient: Ensure that the Connection knows its Account earlyXavier Claessens2012-07-041-0/+6
| | | | | This fixes a crash in empathy-chat: https://bugs.freedesktop.org/show_bug.cgi?id=51444
* TpBaseClient: refactor code that create TpAccount, TpConnection and TpChannelsXavier Claessens2012-07-041-135/+99
|
* Deprecate tp_account_ensure_connection()Xavier Claessens2012-05-231-3/+6
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=49372
* Stop using TP_ERRORSSimon McVittie2012-05-021-11/+11
| | | | We deprecated this in 0.11.
* Use g_ptr_array_new_full() now that we can depend on glib 2.30Xavier Claessens2012-04-231-7/+7
|
* Complete results of TpProxy D-Bus calls in an idleSimon McVittie2012-04-121-1/+1
| | | | | | | | | | | | GAsyncResult guarantees to call your callback from the main loop. For historical reasons (basically "5 years ago I didn't know any better"), TpProxy does not: if the interface is missing or the proxy has been invalidated, the callback is called re-entrantly. I'm going to fix that in Telepathy 1.0, but for now, let's give GAsyncResult the correct semantics. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=45514 Reviewed-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* many fixes to documentation commentsJonny Lamb2012-04-061-1/+1
| | | | | | | | 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>
* Introspect a few gettersXavier Claessens2012-04-031-3/+3
| | | | | | It is not always a good idea for bindings to always rely on GObject::get_property(), it can be slow to access properties that way everytime instead of keeping a proxy object in native language.
* Use GLib's default marshaller everywhereSimon McVittie2012-03-011-5/+2
| | | | | | | | 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>
* Add config.h include in all source filesXavier Claessens2012-02-061-0/+2
|
* Use _unref instead of _free _destroy when possible.Xavier Claessens2011-11-161-4/+4
| | | | | | | | | | | 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/
* Version 0.15.5telepathy-glib-0.15.5Will Thompson2011-08-171-4/+4
|
* Improve documentation a bitXavier Claessens2011-08-171-7/+7
|
* TpBaseClient: add constructors with factory instead of AMXavier Claessens2011-08-171-29/+73
| | | | | | | | | A factory is what we really need, forcing to create a TpAccountManager also means that a simple channel handler will always introspect all accounts even if it needs only one. With a factory, TpBaseClient can create only needed accounts and still share them with a TpAccountManager if one exists.
* Deprecate tp_base_client_add_*_features()Xavier Claessens2011-08-171-13/+30
| | | | features are set on TpSimpleClientFactory now
* TpBaseClient: prepare TpAccount, TpConnection and TpChannels with factory ↵Xavier Claessens2011-08-171-27/+77
| | | | | | | desired features There are lots of code duplication for those proxy creation and preparation, this will be fixed later.
* Deprecate tp_account_manager_ensure_account()Xavier Claessens2011-08-171-7/+16
| | | | Use instead tp_simple_client_factory_ensure_account()
* Add tp_simple_client_factory_add_*_features_varargs()Xavier Claessens2011-08-041-40/+16
| | | | This is much nicer C API, and TpBaseClient had those helpers too.
* Deprecate Tp{Basic,Automatic}ProxyFactory in favor of ↵Xavier Claessens2011-07-261-0/+14
| | | | | | Tp{Simple,Automatic}ClientFactory Add internal wrappers for deprecated functions so we can still use them for compatibility
* Use TpSimpleClientFactory to create TpChannel objectsXavier Claessens2011-07-261-20/+29
| | | | | For compatibility, still use TpAutomaticProxyFactory if one is explicitely set, but use TpAutomaticClientFactory otherwise.
* Fix inconsistency in #includeXavier Claessens2011-07-251-1/+1
|
* Rename _tp_g_ptr_array_sized_new_with_free_func() to _tp_g_ptr_array_new_full()Xavier Claessens2011-07-221-14/+8
| | | | To match the name of the function that will be included in GLib 2.30
* Always create TpChannelDispatchOperation through a factoryXavier Claessens2011-07-201-5/+10
|
* Always create TpChannelRequest objects through a factoryXavier Claessens2011-07-201-3/+8
|
* Factor out _tp_g_ptr_array_sized_new_with_free_func()Xavier Claessens2011-07-121-14/+14
|
* Set initial value to user_action_time to make compiler happyXavier Claessens2011-07-121-1/+1
| | | | Actually if that var did not receive a value, it already does a goto out anyway
* prepare 0.15.3telepathy-glib_0.15.3Guillaume Desmottes2011-07-081-2/+2
|
* TpBaseClient: add ↵Guillaume Desmottes2011-07-081-0/+168
| | | | org.freedesktop.Telepathy.ChannelRequest.DelegateToPreferredHandler support (#38249)
* prepare 0.15.0telepathy-glib_0.15.0Guillaume Desmottes2011-05-171-2/+2
|
* fix typos in docGuillaume Desmottes2011-05-161-5/+6
|
* Use new DelegateChannels() APIGuillaume Desmottes2011-05-161-11/+131
|
* add tp_base_client_delegate_channels_{async,finish} (fdo #34610)Guillaume Desmottes2011-05-161-0/+123
|
* add tp_channel_dispatch_operation_claim_with_async() (fdo #36490)Guillaume Desmottes2011-05-101-4/+24
|
* Version 0.14.5telepathy-glib-0.14.5Will Thompson2011-04-201-1/+1
|
* add tp_base_client_is_handling_channel (fdo #35990)Guillaume Desmottes2011-04-201-0/+34
|
* Fix “Value stored to _ is never read” clang warnings.Will Thompson2011-03-151-1/+1
|
* prepare 0.13.16Guillaume Desmottes2011-03-071-1/+1
|
* base-client: add set_observer_delay_approvers functionJonny Lamb2011-03-041-0/+50
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* Fix a tonne of documentation nits in client classesWill Thompson2011-02-021-17/+22
|
* base-client: make set_observer_recover set both waysJonny Lamb2010-12-221-1/+9
| | | | | | | | | | Setting the argument recover=TRUE or recover=FALSE should do the sensible thing according to the documentation of the function, not just always set it to TRUE regardless. Fixes: fd.o#32551 Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* Use g_hash_table_replace instead of _insertSjoerd Simons2010-12-201-1/+1
| | | | | | | For the channels hash in TpBaseClient the key is owned by the value in the hash. The replacement behaviour of g_hash_table_insert always keeps the existing key, which is not be valid anymore if the old value freed. Use g_hash_table_replace instead to get the expected behaviour.
* Better debug info and don't remove already removed channelsSjoerd Simons2010-12-201-4/+11
| | | | | | | | | | | TpProxy has the bad habit of emitting signals from dispose (Booo!). TpBaseClient in various cases will be the last holder of a reference and tries to remove the channel from its hash-table on invalidated.. So in case the proxy gets unreferenced because it is removed from the hash table (because HandleChannels is called again with the same path), the proxy is disposed, it signals invalidated (Boo!) and during the removal it gets removed again and thus unreferenced again...
* Merge branch 'telepathy-glib-0.12'Will Thompson2010-12-131-1/+4
|\