Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | TpProxy: finish_all_requests: don't leak copied GQueue | Simon McVittie | 2014-03-13 | 1 | -1/+1 |
| | | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=76000 Reviewed-by: Guillaume Desmottes | ||||
* | prepare 0.19.9 releasetelepathy-glib-0.19.9 | Xavier Claessens | 2012-09-11 | 1 | -2/+2 |
| | |||||
* | TpProxy: Deprecate _borrow_ functions and replace them by _get_ | Xavier Claessens | 2012-09-05 | 1 | -4/+31 |
| | | | | | | 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 | ||||
* | Release 0.19.0telepathy-glib-0.19.0 | Xavier Claessens | 2012-05-09 | 1 | -1/+1 |
| | |||||
* | Add comment explaining what it means if feature->prepare_async is NULL | Xavier Claessens | 2012-05-09 | 1 | -0/+3 |
| | | | | https://bugs.freedesktop.org/show_bug.cgi?id=49215 | ||||
* | Merge branch 'telepathy-glib-0.18' | Guillaume Desmottes | 2012-04-27 | 1 | -11/+45 |
|\ | |||||
| * | Retry to prepare features which failed because of a missing conn iface | Guillaume Desmottes | 2012-04-27 | 1 | -11/+45 |
| | | | | | | | | | | | | | | | | | | If we try to prepare a connection feature before the connection is connected, the preparation may fall if a required interface hasn't been announced yet by the CM. So, we give those features a second chance to be prepared when the connection has been connected. https://bugs.freedesktop.org/show_bug.cgi?id=42981 | ||||
* | | TP_NUM_DBUS_ERRORS, TP_NUM_CONTACT_FEATURES: add | Simon McVittie | 2012-04-12 | 1 | -1/+10 |
|/ | | | | | | NUM_TP_CONTACT_FEATURES and NUM_TP_DBUS_ERRORS aren't introspectable. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=46470 | ||||
* | proxy: sprinkle some checked casts around. | Will Thompson | 2012-03-30 | 1 | -5/+5 |
| | | | | | | | | | | It's really tempting fate to just blindly cast objects to their expected type, particularly objects as fundamental as TpProxy, and particularly from callbacks. In this case, my incorrect refcounting was causing me to steal a reference; causing a perplexing crash in tp_proxy_poll_features() when tp_proxy_emit_invalidated() got called from an idle after I'd stolen its reference. Putting the checked cast in at the beginning made it much easier to spot the nature of the bug. | ||||
* | Use GLib's default marshaller everywhere | Simon McVittie | 2012-03-01 | 1 | -6/+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> | ||||
* | Consistently use G_PARAM_STATIC_STRINGS for properties | Simon McVittie | 2012-02-09 | 1 | -12/+6 |
| | | | | | | | | Many didn't use this shorthand, and some even didn't declare one of the three strings as static (causing GObject to copy it). Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Reviewed-by: Vivek Dasmohapatra <vivek@collabora.co.uk> | ||||
* | Add config.h include in all source files | Xavier Claessens | 2012-02-06 | 1 | -0/+2 |
| | |||||
* | Simplify _finish() functions using _tp_implement_finish_* | Xavier Claessens | 2011-12-14 | 1 | -13/+1 |
| | |||||
* | Use _unref instead of _free _destroy when possible. | Xavier Claessens | 2011-11-16 | 1 | -2/+2 |
| | | | | | | | | | | | 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/ | ||||
* | Document the meaning of TpProxy::invalidated | Danielle Madeley | 2011-10-31 | 1 | -0/+8 |
| | | | | | It turns out that when we talked about invalidation, people didn't actually know what this meant. | ||||
* | Version 0.15.5telepathy-glib-0.15.5 | Will Thompson | 2011-08-17 | 1 | -1/+1 |
| | |||||
* | Add skip annotation for NUM_FOO | Xavier Claessens | 2011-08-17 | 1 | -1/+1 |
| | | | | g-i now understands it (GNOME bug #652712) | ||||
* | *ClientFactory, Proxy: Documentation nits. | Will Thompson | 2011-07-20 | 1 | -2/+2 |
| | |||||
* | Add _tp_proxy_ensure_factory | Xavier Claessens | 2011-07-20 | 1 | -1/+26 |
| | |||||
* | Add TpSimpleClientFactory | Xavier Claessens | 2011-07-20 | 1 | -0/+45 |
| | | | | | | This is a new object replacing TpBasicProxyFactory but can construct any known TpProxy subclasses, guarantee their uniqueness per object-path and keep a user-defined set of features to prepare on them. | ||||
* | Make DEBUG a no-op static inline with --disable-debug. | Will Thompson | 2011-07-07 | 1 | -4/+0 |
| | |||||
* | Fix set-but-not-used warnings with --disable-debug | Will Thompson | 2011-06-23 | 1 | -0/+4 |
| | | | | Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | ||||
* | Move TpProxyFeature as public API (#31583) | Guillaume Desmottes | 2011-05-12 | 1 | -3/+29 |
| | |||||
* | rename check_feature_validity to assert_feature_validity | Guillaume Desmottes | 2011-05-12 | 1 | -2/+2 |
| | |||||
* | improve comment | Guillaume Desmottes | 2011-05-12 | 1 | -1/+3 |
| | |||||
* | use a GQueue to store prepare_requests | Guillaume Desmottes | 2011-05-12 | 1 | -18/+23 |
| | |||||
* | factor out finish_all_requests | Guillaume Desmottes | 2011-05-12 | 1 | -7/+15 |
| | |||||
* | fix some phrasing | Guillaume Desmottes | 2011-05-12 | 1 | -5/+6 |
| | |||||
* | coding style fix | Guillaume Desmottes | 2011-05-12 | 1 | -1/+3 |
| | |||||
* | Add TpProxyFeature.prepare_before_signalling_connected_async | Guillaume Desmottes | 2011-05-12 | 1 | -0/+98 |
| | | | | | It allows a prepared feature to be notified to update itself before announcing that the connection is now CONNECTED. | ||||
* | core features can't have explicit depends | Guillaume Desmottes | 2011-05-12 | 1 | -0/+13 |
| | | | | This avoid cyclic references and weird corner cases. | ||||
* | retry preparing failed dep, if possible | Guillaume Desmottes | 2011-05-12 | 1 | -8/+29 |
| | |||||
* | add TpProxyFeature.can_retry | Guillaume Desmottes | 2011-05-12 | 1 | -1/+4 |
| | |||||
* | prepare core features of subclass before core of super classes | Guillaume Desmottes | 2011-05-12 | 1 | -1/+1 |
| | |||||
* | split prepare_core into one TpProxyPrepareRequest per subclass | Guillaume Desmottes | 2011-05-12 | 1 | -35/+44 |
| | | | | | We'll need this to guarantee that super class core features are prepared before subclass ones. | ||||
* | Actually fall through when the core features are unwanted | Guillaume Desmottes | 2011-05-12 | 1 | -1/+0 |
| | | | | We want starting preparing those as they block every other features. | ||||
* | Wait that core has been prepared before checking requested interfaces | Guillaume Desmottes | 2011-05-12 | 1 | -8/+9 |
| | | | | If core is not prepared, tp_proxy_has_interface_by_id() will also fail. | ||||
* | remove TpProxyFeature.start_preparing() | Guillaume Desmottes | 2011-05-12 | 1 | -46/+5 |
| | |||||
* | add depends support to feature | Guillaume Desmottes | 2011-05-12 | 1 | -14/+120 |
| | |||||
* | factor out request_is_complete() | Guillaume Desmottes | 2011-05-12 | 1 | -46/+56 |
| | |||||
* | TpProxyFeature: add interfaces_needed | Guillaume Desmottes | 2011-05-12 | 1 | -2/+41 |
| | |||||
* | Add an async variant of start_preparing | Guillaume Desmottes | 2011-05-12 | 1 | -2/+38 |
| | |||||
* | start preparing features in tp_proxy_poll_features() | Guillaume Desmottes | 2011-05-12 | 1 | -30/+91 |
| | | | | | | | We don't want to start prepare features right away but when all the requierements are done. This include core features, so now we don't call prepare functions until core features have been prepared. | ||||
* | tp_proxy_poll_features: move checking for invalidation inside the loop | Simon McVittie | 2011-05-12 | 1 | -18/+24 |
| | | | | | | | We call out to user code from the loop, which could conceivably invalidate us. Also hold a ref for the duration of the loop, for the same reason. | ||||
* | Split FEATURE_STATE_WANTED from FEATURE_STATE_TRYING | Simon McVittie | 2011-05-12 | 1 | -4/+8 |
| | | | | For now, we go straight to calling the callback, i.e. TRYING. | ||||
* | FeatureState: comment the values | Simon McVittie | 2011-05-12 | 1 | -0/+5 |
| | |||||
* | tp_proxy_prepare_async: don't start anything if we were already invalidated | Simon McVittie | 2011-05-12 | 1 | -5/+8 |
| | |||||
* | TpProxyFeature: use a proper private struct | Guillaume Desmottes | 2011-05-12 | 1 | -0/+5 |
| | |||||
* | version 0.14.4telepathy-glib-0.14.4 | Olli Salli | 2011-04-15 | 1 | -1/+1 |
| | |||||
* | tp_proxy_add_interfaces: interfaces is a 'const gchar * const *' | Guillaume Desmottes | 2011-04-12 | 1 | -2/+2 |
| |