Hello community,
here is the log from the commit of package telepathy-glib for openSUSE:Factory
checked in at Sat Apr 3 00:14:47 CEST 2010.
--------
--- telepathy-glib/telepathy-glib.changes 2010-03-25 11:11:05.000000000 +0100
+++ /mounts/work_src_done/STABLE/telepathy-glib/telepathy-glib.changes 2010-04-02 19:34:34.000000000 +0200
@@ -1,0 +2,11 @@
+Fri Apr 2 19:31:29 CEST 2010 - vuntz@opensuse.org
+
+- Update to version 0.10.2:
+ + Fixes:
+ - TpAccount: correctly add interfaces such as Avatars
+ - Make GetContactAttributes() in GLib CMs tolerate unsupported
+ interfaces, as per telepathy-spec 0.19.2
+ - Improve documentation of
+ TpContactsMixinFillContactAttributesFunc
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
telepathy-glib-0.10.1.tar.bz2
New:
----
telepathy-glib-0.10.2.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ telepathy-glib.spec ++++++
--- /var/tmp/diff_new_pack.hEfubb/_old 2010-04-03 00:13:16.000000000 +0200
+++ /var/tmp/diff_new_pack.hEfubb/_new 2010-04-03 00:13:16.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package telepathy-glib (Version 0.10.1)
+# spec file for package telepathy-glib (Version 0.10.2)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -18,7 +18,7 @@
Name: telepathy-glib
-Version: 0.10.1
+Version: 0.10.2
Release: 1
License: LGPLv2.1+
%define debug_package_requires libtelepathy-glib0 = %{version}-%{release}
++++++ telepathy-glib-0.10.1.tar.bz2 -> telepathy-glib-0.10.2.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/telepathy-glib-0.10.1/ChangeLog new/telepathy-glib-0.10.2/ChangeLog
--- old/telepathy-glib-0.10.1/ChangeLog 2010-03-24 19:39:32.000000000 +0100
+++ new/telepathy-glib-0.10.2/ChangeLog 2010-03-31 15:20:08.000000000 +0200
@@ -1,3 +1,37 @@
+commit 15009de37a7f83bc183d6736d60e9acf46a0472a
+Author: Simon McVittie
+Date: 2010-03-31 13:33:28 +0100
+
+ Prepare version 0.10.2
+
+commit 28ba4fde160635b37ca2bf381bb6b8dde6543ead
+Author: Mikhail Zabaluev
+Date: 2010-02-24 18:15:24 +0200
+
+ Improved documentation to TpContactsMixinFillContactAttributesFunc
+
+commit d89ffcc59c13447c4fc1cfc6567de5864c86e54c
+Author: Will Thompson
+Date: 2010-03-26 11:39:22 +0000
+
+ Make GetContactAttributes() tolerate unsupported interfaces
+
+ See http://bugs.freedesktop.org/show_bug.cgi?id=27325
+
+ Reviewed-by: Simon McVittie
+
+commit 5c1a25405b0e9c857d8b83337f1fd961a2cdd910
+Author: Danielle Madeley
+Date: 2010-03-31 23:06:12 +1100
+
+ tp-account: check Interfaces property and append interface to TpProxy
+
+commit 11b018caa3e3df9e5968ad07bf80f2843cc5bb2c
+Author: Simon McVittie
+Date: 2010-03-24 19:32:10 +0000
+
+ Nano version
+
commit 27a49b251dd81d7eacc3c88eb96ec9619547d383
Author: Simon McVittie
Date: 2010-03-24 18:35:29 +0000
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/telepathy-glib-0.10.1/NEWS new/telepathy-glib-0.10.2/NEWS
--- old/telepathy-glib-0.10.1/NEWS 2010-03-24 19:34:45.000000000 +0100
+++ new/telepathy-glib-0.10.2/NEWS 2010-03-31 14:33:09.000000000 +0200
@@ -1,3 +1,17 @@
+telepathy-glib 0.10.2 (2010-03-31)
+==================================
+
+The "is that a koala in your roster or are you just nearby?" release.
+
+Fixes:
+
+* TpAccount: correctly add interfaces such as Avatars (danni)
+
+* Make GetContactAttributes() in GLib CMs tolerate unsupported interfaces,
+ as per telepathy-spec 0.19.2 (wjt)
+
+* Improve documentation of TpContactsMixinFillContactAttributesFunc (mikhailz)
+
telepathy-glib 0.10.1 (2010-03-24)
==================================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/telepathy-glib-0.10.1/configure new/telepathy-glib-0.10.2/configure
--- old/telepathy-glib-0.10.1/configure 2010-03-24 19:30:49.000000000 +0100
+++ new/telepathy-glib-0.10.2/configure 2010-03-31 14:33:35.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.65 for Telepathy-GLib 0.10.1.
+# Generated by GNU Autoconf 2.65 for Telepathy-GLib 0.10.2.
#
# Report bugs to https://bugs.freedesktop.org/enter_bug.cgi?product=Telepathy&component=tp-glib&version=0.10.
#
@@ -702,8 +702,8 @@
# Identity of this package.
PACKAGE_NAME='Telepathy-GLib'
PACKAGE_TARNAME='telepathy-glib'
-PACKAGE_VERSION='0.10.1'
-PACKAGE_STRING='Telepathy-GLib 0.10.1'
+PACKAGE_VERSION='0.10.2'
+PACKAGE_STRING='Telepathy-GLib 0.10.2'
PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=Telepathy&component=tp-glib&version=0.10'
PACKAGE_URL=''
@@ -1483,7 +1483,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures Telepathy-GLib 0.10.1 to adapt to many kinds of systems.
+\`configure' configures Telepathy-GLib 0.10.2 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1553,7 +1553,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of Telepathy-GLib 0.10.1:";;
+ short | recursive ) echo "Configuration of Telepathy-GLib 0.10.2:";;
esac
cat <<\_ACEOF
@@ -1683,7 +1683,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-Telepathy-GLib configure 0.10.1
+Telepathy-GLib configure 0.10.2
generated by GNU Autoconf 2.65
Copyright (C) 2009 Free Software Foundation, Inc.
@@ -2054,7 +2054,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by Telepathy-GLib $as_me 0.10.1, which was
+It was created by Telepathy-GLib $as_me 0.10.2, which was
generated by GNU Autoconf 2.65. Invocation command line was
$ $0 $@
@@ -2865,7 +2865,7 @@
# Define the identity of the package.
PACKAGE='telepathy-glib'
- VERSION='0.10.1'
+ VERSION='0.10.2'
cat >>confdefs.h <<_ACEOF
@@ -11177,7 +11177,7 @@
LT_CURRENT=32
-LT_REVISION=2
+LT_REVISION=3
LT_AGE=32
@@ -12759,7 +12759,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by Telepathy-GLib $as_me 0.10.1, which was
+This file was extended by Telepathy-GLib $as_me 0.10.2, which was
generated by GNU Autoconf 2.65. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -12825,7 +12825,7 @@
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-Telepathy-GLib config.status 0.10.1
+Telepathy-GLib config.status 0.10.2
configured by $0, generated by GNU Autoconf 2.65,
with options \\"\$ac_cs_config\\"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/telepathy-glib-0.10.1/configure.ac new/telepathy-glib-0.10.2/configure.ac
--- old/telepathy-glib-0.10.1/configure.ac 2010-03-24 19:30:07.000000000 +0100
+++ new/telepathy-glib-0.10.2/configure.ac 2010-03-31 14:32:15.000000000 +0200
@@ -11,14 +11,14 @@
m4_define([tp_glib_major_version], [0])
m4_define([tp_glib_minor_version], [10])
-m4_define([tp_glib_micro_version], [1])
+m4_define([tp_glib_micro_version], [2])
m4_define([tp_glib_nano_version], [0])
# If library source has changed since last release, increment revision.
# Do not add new API or ABI, or make incompatible changes, on this branch
# (which means that current and age should remain 32).
m4_define([tp_glib_lt_current], [32])
-m4_define([tp_glib_lt_revision], [2])
+m4_define([tp_glib_lt_revision], [3])
m4_define([tp_glib_lt_age], [32])
# Some magic
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/telepathy-glib-0.10.1/docs/reference/html/telepathy-glib-TpContactsMixin.html new/telepathy-glib-0.10.2/docs/reference/html/telepathy-glib-TpContactsMixin.html
--- old/telepathy-glib-0.10.1/docs/reference/html/telepathy-glib-TpContactsMixin.html 2010-03-24 19:39:32.000000000 +0100
+++ new/telepathy-glib-0.10.2/docs/reference/html/telepathy-glib-TpContactsMixin.html 2010-03-31 15:20:08.000000000 +0200
@@ -332,18 +332,21 @@
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Arrays.html#GArray"><span class="returnvalue">GArray</span></a> *contacts,
<a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="returnvalue">GHashTable</span></a> *attributes_hash);</pre>
<p>
-This function is called to add attributes of contacts</p>
+This function is called to supply contact attributes pertaining to
+a particular interface, for a list of contacts.
+All the handles in <em class="parameter"><code>contacts</code></em> are guaranteed to be valid and
+referenced.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>obj</code></em> :</span></p></td>
-<td> An object implementing the presence interface with this mixin
+<td> An object implementing the Contacts interface with this mixin
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>contacts</code></em> :</span></p></td>
-<td> The contacts for which attributes are requested
+<td> The contact handles for which attributes are requested
</td>
</tr>
<tr>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/telepathy-glib-0.10.1/docs/reference/html/telepathy-glib-asv.html new/telepathy-glib-0.10.2/docs/reference/html/telepathy-glib-asv.html
--- old/telepathy-glib-0.10.1/docs/reference/html/telepathy-glib-asv.html 2010-03-24 19:39:32.000000000 +0100
+++ new/telepathy-glib-0.10.2/docs/reference/html/telepathy-glib-asv.html 2010-03-31 15:20:08.000000000 +0200
@@ -240,7 +240,7 @@
<p>
</p>
<div class="example">
-<a name="id2801298"></a><p class="title"><b>Example 1. Using <a class="link" href="telepathy-glib-asv.html#tp-asv-new" title="tp_asv_new ()"><code class="function">tp_asv_new()</code></a></b></p>
+<a name="id2676780"></a><p class="title"><b>Example 1. Using <a class="link" href="telepathy-glib-asv.html#tp-asv-new" title="tp_asv_new ()"><code class="function">tp_asv_new()</code></a></b></p>
<div class="example-contents">
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
<tbody>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/telepathy-glib-0.10.1/docs/reference/html/telepathy-glib-util.html new/telepathy-glib-0.10.2/docs/reference/html/telepathy-glib-util.html
--- old/telepathy-glib-0.10.1/docs/reference/html/telepathy-glib-util.html 2010-03-24 19:39:32.000000000 +0100
+++ new/telepathy-glib-0.10.2/docs/reference/html/telepathy-glib-util.html 2010-03-31 15:20:08.000000000 +0200
@@ -1034,7 +1034,7 @@
<p>
</p>
<div class="example">
-<a name="id3221652"></a><p class="title"><b>Example 2. using tp_value_array_build</b></p>
+<a name="id3097130"></a><p class="title"><b>Example 2. using tp_value_array_build</b></p>
<div class="example-contents">
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
<tbody>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/telepathy-glib-0.10.1/telepathy-glib/account.c new/telepathy-glib-0.10.2/telepathy-glib/account.c
--- old/telepathy-glib-0.10.1/telepathy-glib/account.c 2010-03-24 19:23:54.000000000 +0100
+++ new/telepathy-glib-0.10.2/telepathy-glib/account.c 2010-03-31 14:24:32.000000000 +0200
@@ -444,6 +444,27 @@
TpConnectionStatus old_s = priv->connection_status;
gboolean presence_changed = FALSE;
+ if (g_hash_table_lookup (properties, "Interfaces") != NULL)
+ {
+ gchar **interfaces, **iter;
+
+ interfaces = tp_asv_get_boxed (properties, "Interfaces", G_TYPE_STRV);
+
+ for (iter = interfaces; *iter != NULL; iter++)
+ {
+ if (tp_dbus_check_valid_interface_name (*iter, NULL))
+ {
+ GQuark q = g_quark_from_string (*iter);
+
+ tp_proxy_add_interface_by_id ((TpProxy *) account, q);
+ }
+ else
+ {
+ DEBUG ("\t\tInterface %s not valid", *iter);
+ }
+ }
+ }
+
if (g_hash_table_lookup (properties, "ConnectionStatus") != NULL)
priv->connection_status =
tp_asv_get_uint32 (properties, "ConnectionStatus", NULL);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/telepathy-glib-0.10.1/telepathy-glib/contacts-mixin.c new/telepathy-glib-0.10.2/telepathy-glib/contacts-mixin.c
--- old/telepathy-glib-0.10.1/telepathy-glib/contacts-mixin.c 2010-03-01 15:44:55.000000000 +0100
+++ new/telepathy-glib-0.10.2/telepathy-glib/contacts-mixin.c 2010-03-31 14:24:32.000000000 +0200
@@ -282,19 +282,6 @@
TP_BASE_CONNECTION_ERROR_IF_NOT_CONNECTED (conn, context);
- /* first validate the given interfaces */
- for (i = 0; interfaces[i] != NULL; i++) {
- if (g_hash_table_lookup (self->priv->interfaces, interfaces[i]) == NULL)
- {
- GError einval = { TP_ERRORS, TP_ERROR_INVALID_ARGUMENT,
- "Non-inspectable Interface given" };
-
- dbus_g_method_return_error (context, &einval);
- return;
- }
- }
-
-
/* Setup handle array and hash with valid handles, optionally holding them */
valid_handles = g_array_sized_new (TRUE, TRUE, sizeof (TpHandle),
handles->len);
@@ -336,9 +323,10 @@
func = g_hash_table_lookup (self->priv->interfaces, interfaces[i]);
- g_assert (func != NULL);
-
- func (G_OBJECT(iface), valid_handles, result);
+ if (func == NULL)
+ DEBUG ("non-inspectable interface %s given; ignoring", interfaces[i]);
+ else
+ func (G_OBJECT(iface), valid_handles, result);
}
tp_svc_connection_interface_contacts_return_from_get_contact_attributes (
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/telepathy-glib-0.10.1/telepathy-glib/contacts-mixin.h new/telepathy-glib-0.10.2/telepathy-glib/contacts-mixin.h
--- old/telepathy-glib-0.10.1/telepathy-glib/contacts-mixin.h 2010-03-24 18:53:25.000000000 +0100
+++ new/telepathy-glib-0.10.2/telepathy-glib/contacts-mixin.h 2010-03-31 14:24:32.000000000 +0200
@@ -35,13 +35,15 @@
/**
* TpContactsMixinFillContactAttributesFunc:
- * @obj: An object implementing the presence interface with this mixin
- * @contacts: The contacts for which attributes are requested
+ * @obj: An object implementing the Contacts interface with this mixin
+ * @contacts: The contact handles for which attributes are requested
* @attributes_hash: hash of handle => hash of attributes, containing all the
* contacts in the contacts array
*
- * This function is called to add attributes of contacts
- *
+ * This function is called to supply contact attributes pertaining to
+ * a particular interface, for a list of contacts.
+ * All the handles in @contacts are guaranteed to be valid and
+ * referenced.
*/
typedef void (*TpContactsMixinFillContactAttributesFunc) (GObject *obj,
const GArray *contacts, GHashTable *attributes_hash);
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org