summaryrefslogtreecommitdiff
path: root/telepathy-glib/handle-repo-dynamic.c
Commit message (Collapse)AuthorAgeFilesLines
* Release 0.19.2telepathy-glib-0.19.2Xavier Claessens2012-06-281-3/+3
|
* TpDynamicHandleRepo: Support async normalization functionXavier Claessens2012-06-281-0/+116
| | | | | | | Override TpHandleRepoIface::ensure_handle_async() and use an user provided async normalization function. https://bugs.freedesktop.org/show_bug.cgi?id=50341
* TpDynamicHandleRepo: factor out ensure_handle_take_normalized_id()Xavier Claessens2012-06-281-22/+29
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=50341
* Stop using TP_ERRORSSimon McVittie2012-05-021-2/+2
| | | | We deprecated this in 0.11.
* Consistently use G_PARAM_STATIC_STRINGS for propertiesSimon McVittie2012-02-091-4/+2
| | | | | | | | 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 filesXavier Claessens2012-02-061-1/+1
|
* Use _unref instead of _free _destroy when possible.Xavier Claessens2011-11-161-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/
* Fix a load of broken documentation cross-referencesWill Thompson2011-02-021-1/+1
| | | | | I actually read the warnings produced by building the documentation and found all these.
* dynamic_ensure_handle: don't leak normal_idGuillaume Desmottes2010-12-081-4/+5
|
* Prepare version 0.13.8telepathy-glib-0.13.8Simon McVittie2010-12-011-1/+1
|
* TpDynamicHandleRepo: store handle data in a GArray, not a GHashTableSimon McVittie2010-12-011-58/+54
| | | | | | Now that we don't deallocate handles, the keys will always be dense, so we can benefit from having a single blob of memory keyed by simple array access.
* TpDynamicHandleRepo: be "grow-only", i.e. once a handle is created, it lasts ↵Simon McVittie2010-12-011-348/+18
| | | | as long as the repository
* handle-repo: make tp_handle_ref return the handleJonny Lamb2010-11-151-2/+4
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* Merge branch 'telepathy-glib-0.12'Guillaume Desmottes2010-10-131-1/+1
|\
| * Remove redundant trailing semicolons from G_DEFINE_TYPE etc.Simon McVittie2010-10-061-1/+1
| | | | | | | | ISO C forbids them, and they're an easy thing to get rid of.
* | _tp_dynamic_handle_repo_get_normalization_data: addSimon McVittie2010-05-251-0/+58
|/
* Use macros WARNING(), etc., consistently (within the library)Simon McVittie2010-04-301-3/+3
|
* Put various files into debug domainsSimon McVittie2010-04-301-0/+3
|
* Use tp_str_empty whenever it's equivalent to the current codeSimon McVittie2010-04-011-1/+2
|
* fd.o #9812: TpDynamicHandleRepo: use tp_dbus_daemon_watch_name_owner for ↵Simon McVittie2009-08-171-15/+22
| | | | | | | | | | | reduced wakeups We can now bind to NameOwnerChanged selectively (much rejoicing). This patch also introduces a new feature, of a sort: if a client holds handles then immediately crashes, the ref held on its behalf will be discarded (because GetNameOwner will indicate that its name is no longer owned).
* TpDynamicHandleRepo: use the globally cached starter D-Bus daemonSimon McVittie2009-01-301-19/+13
|
* gtk-doc property notation is #Class:prop not #Class::propWill Thompson2009-01-071-3/+3
|
* Set InvalidHandle when handles are invalid, not InvalidArgument.Simon McVittie2008-10-131-1/+1
| | | | It turns out we've been raising the wrong error all this time...
* TpDynamicHandleRepo: in tp_handle_lookup() implementation, raise ↵Simon McVittie2008-04-301-0/+8
| | | | | | NotAvailable if the ID is valid but there is no handle, rather than returning 0 with no error (closes fd.o #15387) 20080430112943-53eee-78d41dd61f468273a61af520cc5dd4ecdaee0a85.gz
* TpDynamicHandleRepo: move docs from .h to .cSimon McVittie2008-04-301-0/+31
| | | | 20080430112711-53eee-92ef26925494f0f45c27f340dcbb24dc394d84b1.gz
* When doing handle-leak debugging, print a message when there are no leaks, ↵Simon McVittie2008-04-231-1/+4
| | | | | | so you can tell the check has been done 20080423142420-53eee-f21f8544c4fc4735d44d036849d721c434d39d9f.gz
* TpDynamicHandleRepo: prototype handle_priv_new correctlySimon McVittie2008-02-211-1/+1
| | | | 20080221115253-53eee-852f1a2fb351516dfb44a3df44de3dd40453b9ff.gz
* Use G_PARAM_STATIC_NAME | G_PARAM_STATIC_BLURB | G_PARAM_STATIC_NICK for all ↵Simon McVittie2008-01-161-4/+4
| | | | | | pre-0.7.1 class properties too 20080116123748-53eee-0cdd61939c0e56b1d190ad0845794b0ac526fd86.gz
* handle-repo-dynamic: if the TpDBusDaemon ever goes to 0 refs, null out the ↵Simon McVittie2008-01-111-2/+3
| | | | | | pointer 20080111143625-53eee-a4d36036fd2d5b0c2d7facc4bb0d5ebc764ee3da.gz
* TpDynamicHandleRepo: use TpDBusDaemon to track handle-holder life cycleSimon McVittie2008-01-101-23/+36
| | | | 20080110135159-53eee-0e7941b3a96b1839dd00668c10b17b3ac412c48c.gz
* Change all internal-*.h to a more conventional *-internal.hSimon McVittie2007-11-151-1/+1
| | | | 20071115190043-53eee-ed834b56ee1a271c42809e00f033e2aa55b9baf6.gz
* Include <config.h> in handle-repo-dynamic.c to make --enable-handle-leak ↵Olli Salli2007-04-201-0/+7
| | | | | | debug actually work and require execinfo.h if it's enabled 20070420130307-9db4d-453bb68d1477b39492a63cf912a914c5ced08bee.gz
* Move contents of lib/ into root directorySimon McVittie2007-04-191-0/+814
20070419173517-53eee-d91a15d77882d6839193c1f77be4f88803b48f58.gz