Codebase list telepathy-glib / 004bb87
Imported Upstream version 0.11.10 Simon McVittie 13 years ago
25 changed file(s) with 564 addition(s) and 213 deletion(s). Raw diff Collapse all Expand all
0 commit 5d34ae4e1627b9c30780a1b40a50b7a4ee581ea0
1 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2 Date: 2010-07-02 16:31:45 +0100
0 commit df9104ff6b1e86d5b237682283444746da404dde
1 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
2 Date: 2010-07-12 19:36:44 +0100
3
4 Prepare release 0.11.10
5
6 commit 5ef97be1cb1773ab90427f625416fa671cb2b8b0
7 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
8 Date: 2010-07-12 19:41:43 +0100
9
10 tp_contact_request_contact_info_async: don't fail to finish if there's no cancellable
11
12 The previous logic didn't allow for data->cancellable potentially being
13 NULL, in which case cancelled_id would be 0 anyway, leading to not
14 finishing.
15
16 commit be5b5df1cfc61a7b8a0c2533f4ff9b11d275735f
17 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
18 Date: 2010-07-12 18:51:40 +0100
19
20 contact_info_request_cancelled_cb: don't g_assert() with a side-effect
21
22 Reviewed-by: Travis Reitter <travis.reitter@collabora.co.uk>
23
24 commit 6929c72f8a02a0ff365d589bf04adb41749ec185
25 Merge: cc2d22d cfc6aa5
26 Author: Travis Reitter <travis.reitter@collabora.co.uk>
27 Date: 2010-07-12 10:43:22 -0700
28
29 Merge branch 'gi-fixes4'
30
31 commit cc2d22d8a23465dbb3a5b7eacea452c76c8722ec
32 Author: Will Thompson <will.thompson@collabora.co.uk>
33 Date: 2010-07-12 18:30:01 +0100
34
35 Update to spec 0.19.9.
36
37 commit cfc6aa5796037efbc159344f59467d691f2c4cc7
38 Author: Travis Reitter <travis.reitter@collabora.co.uk>
39 Date: 2010-07-12 09:35:02 -0700
40
41 Annotate HashTable element types for tp_asv_get_*
42
43 commit 30ec2c8ba262d191d168488cb79a83d3bb691fbc
44 Author: Travis Reitter <travis.reitter@collabora.co.uk>
45 Date: 2010-07-09 09:49:52 -0700
46
47 Un-blacklist the tp_asv_get_* utility functions for g-i.
48
49 commit 3054dace56c8357a1c6bc25a2a55c267d647c2bf
50 Author: Travis Reitter <travis.reitter@collabora.co.uk>
51 Date: 2010-07-09 09:37:52 -0700
52
53 Annotate the return value of Capabilities.get_channel_classes() as unowned by the caller.
54
55 commit db296094c9a9e6590c9d283f33cc25735ead867e
56 Author: Travis Reitter <travis.reitter@collabora.co.uk>
57 Date: 2010-07-09 09:37:16 -0700
58
59 Bump Vala version requirement.
60
61 This fixes callback and async function signatures for the Vala bindings.
62
63 commit 45b856e591b61e8c45a3e0ab271c05d1d2703da9
64 Author: Travis Reitter <travis.reitter@collabora.co.uk>
65 Date: 2010-07-09 08:59:24 -0700
66
67 Annotate that TpCapabilities getter functions don't transfer ownership
68
69 commit 003a34cce0822f7ae8376f782f5c829e824b87bb
70 Author: Jonny Lamb <jonny.lamb@collabora.co.uk>
71 Date: 2010-07-08 15:19:09 +0100
72
73 channel-manager: fix typo in documentation
74
75 The signal is called request-already-satisfied, not already-satisfied.
76
77 Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
78
79 commit c62ac0fe02db9ce1a0ccee8fdb668d28d2cdb49f
80 Author: Philip Withnall <philip.withnall@collabora.co.uk>
81 Date: 2010-07-05 17:11:34 +0100
82
83 Rework cancellable handling in tp_contact_request_contact_info_async()
84
85 The call to
86 tp_cli_connection_interface_contact_info_call_request_contact_info() returns
87 synchronously in the error condition, meaning the cancellable connection is
88 redundant.
89
90 Disconnecting the cancellable from within the cancelled callback has been
91 changed to use g_signal_handler_disconnect() rather than an idle callback to
92 avoid deadlock.
93
94 Also make the async operation complete in an idle callback rather than
95 synchronously in this case.
96
97 Fixes: bfo#28920
98
99 commit e7fa7ce4f5320a4ab251389f95f2ca2d39fb40a6
100 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
101 Date: 2010-07-02 17:45:32 +0100
102
103 Nano version
104
105 commit aeb9b43e4674b6d88b432f6dac46825eec14a896
106 Author: Simon McVittie <simon.mcvittie@collabora.co.uk>
107 Date: 2010-07-02 17:21:23 +0100
3108
4109 Prepare version 0.11.9
5110
0 telepathy-glib 0.11.10 (2010-07-12)
1 ===================================
2
3 The “as many fossils as last year” release.
4
5 Enhancements:
6
7 ❱ Updated spec to 0.19.9 (wjt):
8 ❭ added support for Read and Deleted delivery reports
9
10 Fixes:
11
12 ❱ Improved GObject-Introspection annotations to be sufficient for
13 libfolks (treitter)
14
15 ❱ Fixed a typo in the documentation (jonny)
16
17 ❱ fd.o #28920: fixed tp_contact_request_contact_info_async cancellation
18 handling when dealing with synchronous errors (pwithnall)
19
020 telepathy-glib 0.11.9 (2010-07-02)
121 ==================================
222
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.65 for Telepathy-GLib 0.11.9.
2 # Generated by GNU Autoconf 2.65 for Telepathy-GLib 0.11.10.
33 #
44 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=Telepathy&component=tp-glib>.
55 #
701701 # Identity of this package.
702702 PACKAGE_NAME='Telepathy-GLib'
703703 PACKAGE_TARNAME='telepathy-glib'
704 PACKAGE_VERSION='0.11.9'
705 PACKAGE_STRING='Telepathy-GLib 0.11.9'
704 PACKAGE_VERSION='0.11.10'
705 PACKAGE_STRING='Telepathy-GLib 0.11.10'
706706 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=Telepathy&component=tp-glib'
707707 PACKAGE_URL=''
708708
15251525 # Omit some internal or obsolete options to make the list less imposing.
15261526 # This message is too long to be a string in the A/UX 3.1 sh.
15271527 cat <<_ACEOF
1528 \`configure' configures Telepathy-GLib 0.11.9 to adapt to many kinds of systems.
1528 \`configure' configures Telepathy-GLib 0.11.10 to adapt to many kinds of systems.
15291529
15301530 Usage: $0 [OPTION]... [VAR=VALUE]...
15311531
15951595
15961596 if test -n "$ac_init_help"; then
15971597 case $ac_init_help in
1598 short | recursive ) echo "Configuration of Telepathy-GLib 0.11.9:";;
1598 short | recursive ) echo "Configuration of Telepathy-GLib 0.11.10:";;
15991599 esac
16001600 cat <<\_ACEOF
16011601
17421742 test -n "$ac_init_help" && exit $ac_status
17431743 if $ac_init_version; then
17441744 cat <<\_ACEOF
1745 Telepathy-GLib configure 0.11.9
1745 Telepathy-GLib configure 0.11.10
17461746 generated by GNU Autoconf 2.65
17471747
17481748 Copyright (C) 2009 Free Software Foundation, Inc.
22342234 This file contains any messages produced by compilers while
22352235 running configure, to aid debugging if configure makes a mistake.
22362236
2237 It was created by Telepathy-GLib $as_me 0.11.9, which was
2237 It was created by Telepathy-GLib $as_me 0.11.10, which was
22382238 generated by GNU Autoconf 2.65. Invocation command line was
22392239
22402240 $ $0 $@
30453045
30463046 # Define the identity of the package.
30473047 PACKAGE='telepathy-glib'
3048 VERSION='0.11.9'
3048 VERSION='0.11.10'
30493049
30503050
30513051 cat >>confdefs.h <<_ACEOF
1144711447
1144811448
1144911449 LT_CURRENT=39
11450 LT_REVISION=1
11450 LT_REVISION=2
1145111451 LT_AGE=39
1145211452
1145311453
1218912189 pkg_cv_VALA_CFLAGS="$VALA_CFLAGS"
1219012190 elif test -n "$PKG_CONFIG"; then
1219112191 if test -n "$PKG_CONFIG" && \
12192 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vala-1.0 >= 0.9.2.74-236cd\""; } >&5
12193 ($PKG_CONFIG --exists --print-errors "vala-1.0 >= 0.9.2.74-236cd") 2>&5
12192 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vala-1.0 >= 0.9.2.97-2b08\""; } >&5
12193 ($PKG_CONFIG --exists --print-errors "vala-1.0 >= 0.9.2.97-2b08") 2>&5
1219412194 ac_status=$?
1219512195 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1219612196 test $ac_status = 0; }; then
12197 pkg_cv_VALA_CFLAGS=`$PKG_CONFIG --cflags "vala-1.0 >= 0.9.2.74-236cd" 2>/dev/null`
12197 pkg_cv_VALA_CFLAGS=`$PKG_CONFIG --cflags "vala-1.0 >= 0.9.2.97-2b08" 2>/dev/null`
1219812198 else
1219912199 pkg_failed=yes
1220012200 fi
1220512205 pkg_cv_VALA_LIBS="$VALA_LIBS"
1220612206 elif test -n "$PKG_CONFIG"; then
1220712207 if test -n "$PKG_CONFIG" && \
12208 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vala-1.0 >= 0.9.2.74-236cd\""; } >&5
12209 ($PKG_CONFIG --exists --print-errors "vala-1.0 >= 0.9.2.74-236cd") 2>&5
12208 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"vala-1.0 >= 0.9.2.97-2b08\""; } >&5
12209 ($PKG_CONFIG --exists --print-errors "vala-1.0 >= 0.9.2.97-2b08") 2>&5
1221012210 ac_status=$?
1221112211 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1221212212 test $ac_status = 0; }; then
12213 pkg_cv_VALA_LIBS=`$PKG_CONFIG --libs "vala-1.0 >= 0.9.2.74-236cd" 2>/dev/null`
12213 pkg_cv_VALA_LIBS=`$PKG_CONFIG --libs "vala-1.0 >= 0.9.2.97-2b08" 2>/dev/null`
1221412214 else
1221512215 pkg_failed=yes
1221612216 fi
1223012230 _pkg_short_errors_supported=no
1223112231 fi
1223212232 if test $_pkg_short_errors_supported = yes; then
12233 VALA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "vala-1.0 >= 0.9.2.74-236cd" 2>&1`
12233 VALA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "vala-1.0 >= 0.9.2.97-2b08" 2>&1`
1223412234 else
12235 VALA_PKG_ERRORS=`$PKG_CONFIG --print-errors "vala-1.0 >= 0.9.2.74-236cd" 2>&1`
12235 VALA_PKG_ERRORS=`$PKG_CONFIG --print-errors "vala-1.0 >= 0.9.2.97-2b08" 2>&1`
1223612236 fi
1223712237 # Put the nasty error message in config.log where it belongs
1223812238 echo "$VALA_PKG_ERRORS" >&5
1223912239
12240 as_fn_error "Package requirements (vala-1.0 >= 0.9.2.74-236cd) were not met:
12240 as_fn_error "Package requirements (vala-1.0 >= 0.9.2.97-2b08) were not met:
1224112241
1224212242 $VALA_PKG_ERRORS
1224312243
1710017100 # report actual input values of CONFIG_FILES etc. instead of their
1710117101 # values after options handling.
1710217102 ac_log="
17103 This file was extended by Telepathy-GLib $as_me 0.11.9, which was
17103 This file was extended by Telepathy-GLib $as_me 0.11.10, which was
1710417104 generated by GNU Autoconf 2.65. Invocation command line was
1710517105
1710617106 CONFIG_FILES = $CONFIG_FILES
1716617166 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1716717167 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1716817168 ac_cs_version="\\
17169 Telepathy-GLib config.status 0.11.9
17169 Telepathy-GLib config.status 0.11.10
1717017170 configured by $0, generated by GNU Autoconf 2.65,
1717117171 with options \\"\$ac_cs_config\\"
1717217172
1010
1111 m4_define([tp_glib_major_version], [0])
1212 m4_define([tp_glib_minor_version], [11])
13 m4_define([tp_glib_micro_version], [9])
13 m4_define([tp_glib_micro_version], [10])
1414 m4_define([tp_glib_nano_version], [0])
1515
1616 # If library source has changed since last release, increment revision
2626 # never seen in a release).
2727
2828 m4_define([tp_glib_lt_current], [39])
29 m4_define([tp_glib_lt_revision], [1])
29 m4_define([tp_glib_lt_revision], [2])
3030 m4_define([tp_glib_lt_age], [39])
3131
3232 # Some magic
196196
197197 if test x$enable_vala_bindings = xyes; then
198198 PKG_CHECK_MODULES(VALA,
199 [vala-1.0 >= 0.9.2.74-236cd])
199 [vala-1.0 >= 0.9.2.97-2b08])
200200 have_vala=yes
201201
202202 AC_PATH_PROG(VALAC, valac, valac)
273273 it matches a channel class handled by this manager. If so, they should
274274 return <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to accept responsibility for the request, and ultimately emit
275275 exactly one of the <a class="link" href="TpChannelManager.html#TpChannelManager-new-channels" title='The "new-channels" signal'><span class="type">"new-channels"</span></a>,
276 <span class="type">"already-satisfied"</span> and
276 <a class="link" href="TpChannelManager.html#TpChannelManager-request-already-satisfied" title='The "request-already-satisfied" signal'><span class="type">"request-already-satisfied"</span></a> and
277277 <a class="link" href="TpChannelManager.html#TpChannelManager-request-failed" title='The "request-failed" signal'><span class="type">"request-failed"</span></a> signals (including <em class="parameter"><code>request_token</code></em> in
278278 the appropriate argument).
279279 </p>
689689 <ANCHOR id="TpDeliveryReportingSupportFlags" href="telepathy-glib/telepathy-glib-enums.html#TpDeliveryReportingSupportFlags">
690690 <ANCHOR id="TP-DELIVERY-REPORTING-SUPPORT-FLAG-RECEIVE-FAILURES:CAPS" href="telepathy-glib/telepathy-glib-enums.html#TP-DELIVERY-REPORTING-SUPPORT-FLAG-RECEIVE-FAILURES:CAPS">
691691 <ANCHOR id="TP-DELIVERY-REPORTING-SUPPORT-FLAG-RECEIVE-SUCCESSES:CAPS" href="telepathy-glib/telepathy-glib-enums.html#TP-DELIVERY-REPORTING-SUPPORT-FLAG-RECEIVE-SUCCESSES:CAPS">
692 <ANCHOR id="TP-DELIVERY-REPORTING-SUPPORT-FLAG-RECEIVE-READ:CAPS" href="telepathy-glib/telepathy-glib-enums.html#TP-DELIVERY-REPORTING-SUPPORT-FLAG-RECEIVE-READ:CAPS">
693 <ANCHOR id="TP-DELIVERY-REPORTING-SUPPORT-FLAG-RECEIVE-DELETED:CAPS" href="telepathy-glib/telepathy-glib-enums.html#TP-DELIVERY-REPORTING-SUPPORT-FLAG-RECEIVE-DELETED:CAPS">
692694 <ANCHOR id="TpDeliveryStatus" href="telepathy-glib/telepathy-glib-enums.html#TpDeliveryStatus">
693695 <ANCHOR id="TP-DELIVERY-STATUS-UNKNOWN:CAPS" href="telepathy-glib/telepathy-glib-enums.html#TP-DELIVERY-STATUS-UNKNOWN:CAPS">
694696 <ANCHOR id="TP-DELIVERY-STATUS-DELIVERED:CAPS" href="telepathy-glib/telepathy-glib-enums.html#TP-DELIVERY-STATUS-DELIVERED:CAPS">
695697 <ANCHOR id="TP-DELIVERY-STATUS-TEMPORARILY-FAILED:CAPS" href="telepathy-glib/telepathy-glib-enums.html#TP-DELIVERY-STATUS-TEMPORARILY-FAILED:CAPS">
696698 <ANCHOR id="TP-DELIVERY-STATUS-PERMANENTLY-FAILED:CAPS" href="telepathy-glib/telepathy-glib-enums.html#TP-DELIVERY-STATUS-PERMANENTLY-FAILED:CAPS">
697699 <ANCHOR id="TP-DELIVERY-STATUS-ACCEPTED:CAPS" href="telepathy-glib/telepathy-glib-enums.html#TP-DELIVERY-STATUS-ACCEPTED:CAPS">
700 <ANCHOR id="TP-DELIVERY-STATUS-READ:CAPS" href="telepathy-glib/telepathy-glib-enums.html#TP-DELIVERY-STATUS-READ:CAPS">
701 <ANCHOR id="TP-DELIVERY-STATUS-DELETED:CAPS" href="telepathy-glib/telepathy-glib-enums.html#TP-DELIVERY-STATUS-DELETED:CAPS">
698702 <ANCHOR id="NUM-TP-DELIVERY-STATUSES:CAPS" href="telepathy-glib/telepathy-glib-enums.html#NUM-TP-DELIVERY-STATUSES:CAPS">
699703 <ANCHOR id="TpMediaStreamError" href="telepathy-glib/telepathy-glib-enums.html#TpMediaStreamError">
700704 <ANCHOR id="TP-MEDIA-STREAM-ERROR-UNKNOWN:CAPS" href="telepathy-glib/telepathy-glib-enums.html#TP-MEDIA-STREAM-ERROR-UNKNOWN:CAPS">
723727 <ANCHOR id="TP-MESSAGE-PART-SUPPORT-FLAG-MULTIPLE-ATTACHMENTS:CAPS" href="telepathy-glib/telepathy-glib-enums.html#TP-MESSAGE-PART-SUPPORT-FLAG-MULTIPLE-ATTACHMENTS:CAPS">
724728 <ANCHOR id="TpMessageSendingFlags" href="telepathy-glib/telepathy-glib-enums.html#TpMessageSendingFlags">
725729 <ANCHOR id="TP-MESSAGE-SENDING-FLAG-REPORT-DELIVERY:CAPS" href="telepathy-glib/telepathy-glib-enums.html#TP-MESSAGE-SENDING-FLAG-REPORT-DELIVERY:CAPS">
730 <ANCHOR id="TP-MESSAGE-SENDING-FLAG-REPORT-READ:CAPS" href="telepathy-glib/telepathy-glib-enums.html#TP-MESSAGE-SENDING-FLAG-REPORT-READ:CAPS">
731 <ANCHOR id="TP-MESSAGE-SENDING-FLAG-REPORT-DELETED:CAPS" href="telepathy-glib/telepathy-glib-enums.html#TP-MESSAGE-SENDING-FLAG-REPORT-DELETED:CAPS">
726732 <ANCHOR id="NUM-TP-SOCKET-ACCESS-CONTROLS:CAPS" href="telepathy-glib/telepathy-glib-enums.html#NUM-TP-SOCKET-ACCESS-CONTROLS:CAPS">
727733 <ANCHOR id="TpSocketAccessControl" href="telepathy-glib/telepathy-glib-enums.html#TpSocketAccessControl">
728734 <ANCHOR id="TP-SOCKET-ACCESS-CONTROL-LOCALHOST:CAPS" href="telepathy-glib/telepathy-glib-enums.html#TP-SOCKET-ACCESS-CONTROL-LOCALHOST:CAPS">
639639 </tr>
640640 </tbody>
641641 </table></div>
642 <p class="since">Since 0.11.UNRELEASED</p>
642 <p class="since">Since 0.11.9</p>
643643 </div>
644644 <hr>
645645 <div class="refsect2" title="tp_account_set_enabled_async ()">
11881188 </tr>
11891189 </tbody>
11901190 </table></div>
1191 <p class="since">Since 0.11.UNRELEASED</p>
1191 <p class="since">Since 0.11.9</p>
11921192 </div>
11931193 <hr>
11941194 <div class="refsect2" title="tp_account_set_service_finish ()">
12251225 </tr>
12261226 </tbody>
12271227 </table></div>
1228 <p class="since">Since 0.11.UNRELEASED</p>
1228 <p class="since">Since 0.11.9</p>
12291229 </div>
12301230 <hr>
12311231 <div class="refsect2" title="tp_account_request_presence_async ()">
31313131 <a class="link" href="telepathy-glib-account.html#tp-account-set-service-async" title="tp_account_set_service_async ()"><code class="function">tp_account_set_service_async()</code></a>.
31323132 </p>
31333133 <p>Default value: NULL</p>
3134 <p class="since">Since 0.11.UNRELEASED</p>
3134 <p class="since">Since 0.11.9</p>
31353135 </div>
31363136 <hr>
31373137 <div class="refsect2" title='The "valid" property'>
234234 <p>
235235 </p>
236236 <div class="example">
237 <a name="id612188"></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>
237 <a name="id430872"></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>
238238 <div class="example-contents">
239239 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
240240 <tbody>
301301 <tbody>
302302 <tr>
303303 <td><p><span class="term"><em class="parameter"><code>asv</code></em> :</span></p></td>
304 <td>A GHashTable where the keys are strings and the values are GValues
304 <td> A GHashTable where the keys are
305 strings and the values are GValues. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> utf8 GObject.Value]</span>
305306 </td>
306307 </tr>
307308 <tr>
384385 <tbody>
385386 <tr>
386387 <td><p><span class="term"><em class="parameter"><code>asv</code></em> :</span></p></td>
387 <td>A GHashTable where the keys are strings and the values are GValues
388 <td> A GHashTable where the keys are
389 strings and the values are GValues. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> utf8 GObject.Value]</span>
388390 </td>
389391 </tr>
390392 <tr>
400402 </tr>
401403 <tr>
402404 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
403 <td> the value of <em class="parameter"><code>key</code></em>, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
405 <td> the value of <em class="parameter"><code>key</code></em>, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
404406 </td>
405407 </tr>
406408 </tbody>
560562 <tbody>
561563 <tr>
562564 <td><p><span class="term"><em class="parameter"><code>asv</code></em> :</span></p></td>
563 <td>A GHashTable where the keys are strings and the values are GValues
565 <td> A GHashTable where the keys are
566 strings and the values are GValues. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> utf8 GObject.Value]</span>
564567 </td>
565568 </tr>
566569 <tr>
570573 </tr>
571574 <tr>
572575 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
573 <td> the string value of <em class="parameter"><code>key</code></em>, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
576 <td> the string value of <em class="parameter"><code>key</code></em>, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
574577 </td>
575578 </tr>
576579 </tbody>
678681 <tbody>
679682 <tr>
680683 <td><p><span class="term"><em class="parameter"><code>asv</code></em> :</span></p></td>
681 <td>A GHashTable where the keys are strings and the values are GValues
684 <td> A GHashTable where the keys are
685 strings and the values are GValues. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> utf8 GObject.Value]</span>
682686 </td>
683687 </tr>
684688 <tr>
758762 <tbody>
759763 <tr>
760764 <td><p><span class="term"><em class="parameter"><code>asv</code></em> :</span></p></td>
761 <td>A GHashTable where the keys are strings and the values are GValues
765 <td> A GHashTable where the keys are
766 strings and the values are GValues. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> utf8 GObject.Value]</span>
762767 </td>
763768 </tr>
764769 <tr>
838843 <tbody>
839844 <tr>
840845 <td><p><span class="term"><em class="parameter"><code>asv</code></em> :</span></p></td>
841 <td>A GHashTable where the keys are strings and the values are GValues
846 <td> A GHashTable where the keys are
847 strings and the values are GValues. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> utf8 GObject.Value]</span>
842848 </td>
843849 </tr>
844850 <tr>
919925 <tbody>
920926 <tr>
921927 <td><p><span class="term"><em class="parameter"><code>asv</code></em> :</span></p></td>
922 <td>A GHashTable where the keys are strings and the values are GValues
928 <td> A GHashTable where the keys are
929 strings and the values are GValues. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> utf8 GObject.Value]</span>
923930 </td>
924931 </tr>
925932 <tr>
929936 </tr>
930937 <tr>
931938 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
932 <td> the object-path value of <em class="parameter"><code>key</code></em>, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
939 <td> the object-path value of <em class="parameter"><code>key</code></em>, or
940 <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
933941 </td>
934942 </tr>
935943 </tbody>
10711079 <tbody>
10721080 <tr>
10731081 <td><p><span class="term"><em class="parameter"><code>asv</code></em> :</span></p></td>
1074 <td>A GHashTable where the keys are strings and the values are GValues
1082 <td> A GHashTable where the keys are
1083 strings and the values are GValues. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> utf8 GObject.Value]</span>
10751084 </td>
10761085 </tr>
10771086 <tr>
10811090 </tr>
10821091 <tr>
10831092 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1084 <td> the string value of <em class="parameter"><code>key</code></em>, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1093 <td> the string value of <em class="parameter"><code>key</code></em>, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
10851094 </td>
10861095 </tr>
10871096 </tbody>
12231232 <tbody>
12241233 <tr>
12251234 <td><p><span class="term"><em class="parameter"><code>asv</code></em> :</span></p></td>
1226 <td>A GHashTable where the keys are strings and the values are GValues
1235 <td> A GHashTable where the keys are
1236 strings and the values are GValues. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> utf8 GObject.Value]</span>
12271237 </td>
12281238 </tr>
12291239 <tr>
12331243 </tr>
12341244 <tr>
12351245 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1236 <td> the <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated string-array value of <em class="parameter"><code>key</code></em>, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1246 <td> the <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>-terminated string-array
1247 value of <em class="parameter"><code>key</code></em>, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
12371248 </td>
12381249 </tr>
12391250 </tbody>
12971308 <tbody>
12981309 <tr>
12991310 <td><p><span class="term"><em class="parameter"><code>asv</code></em> :</span></p></td>
1300 <td>A GHashTable where the keys are strings and the values are GValues
1311 <td> A GHashTable where the keys are
1312 strings and the values are GValues. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> utf8 GObject.Value]</span>
13011313 </td>
13021314 </tr>
13031315 <tr>
13761388 <tbody>
13771389 <tr>
13781390 <td><p><span class="term"><em class="parameter"><code>asv</code></em> :</span></p></td>
1379 <td>A GHashTable where the keys are strings and the values are GValues
1391 <td> A GHashTable where the keys are
1392 strings and the values are GValues. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> utf8 GObject.Value]</span>
13801393 </td>
13811394 </tr>
13821395 <tr>
100100 </tr>
101101 <tr>
102102 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
103 <td> the same <a href="/usr/share/gtk-doc/html/glib/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> as the <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities--channel-classes" title='The "channel-classes" property'><span class="type">"channel-classes"</span></a> property
104
103 <td> the same <a href="/usr/share/gtk-doc/html/glib/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> as the
104 <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities--channel-classes" title='The "channel-classes" property'><span class="type">"channel-classes"</span></a> property. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
105105 </td>
106106 </tr>
107107 </tbody>
18621862 </tr>
18631863 <tr>
18641864 <td><p><span class="term"><em class="parameter"><code>in_Flags</code></em> :</span></p></td>
1865 <td>Used to pass an 'in' argument: Flags affecting how the message is sent.
1865 <td>Used to pass an 'in' argument: Flags affecting how the message is sent. The channel MAY ignore some or all flags, depending on &lt;tp:member-ref&gt;DeliveryReportingSupport&lt;/tp:member-ref&gt;; the flags that were handled by the CM are provided in &lt;tp:member-ref&gt;MessageSent&lt;/tp:member-ref&gt;.
18661866 </td>
18671867 </tr>
18681868 <tr>
19491949 </tr>
19501950 <tr>
19511951 <td><p><span class="term"><em class="parameter"><code>in_Flags</code></em> :</span></p></td>
1952 <td>Used to pass an 'in' argument: Flags affecting how the message is sent.
1952 <td>Used to pass an 'in' argument: Flags affecting how the message is sent. The channel MAY ignore some or all flags, depending on &lt;tp:member-ref&gt;DeliveryReportingSupport&lt;/tp:member-ref&gt;; the flags that were handled by the CM are provided in &lt;tp:member-ref&gt;MessageSent&lt;/tp:member-ref&gt;.
19531953 </td>
19541954 </tr>
19551955 <tr>
20022002 </tr>
20032003 <tr>
20042004 <td><p><span class="term"><em class="parameter"><code>arg_Message</code></em> :</span></p></td>
2005 <td>&lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt; The message content, including any attachments or alternatives
2005 <td>&lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt; &lt;p&gt;The message content, including any attachments or alternatives. If the incoming message contains formatted text without a plain text alternative, the connection manager MUST generate a &lt;tt&gt;text/plain&lt;/tt&gt; alternative from the formatted text, and include it in this message (both here, and in the &lt;tp:member-ref&gt;PendingMessages&lt;/tp:member-ref&gt; property).&lt;/p&gt;
20062006 </td>
20072007 </tr>
20082008 <tr>
16591659 </tr>
16601660 <tr>
16611661 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1662 <td> the same <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> as the <a class="link" href="telepathy-glib-connection.html#TpConnection--capabilities" title='The "capabilities" property'><span class="type">"capabilities"</span></a>
1663 property
1662 <td> the same <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> as the
1663 <a class="link" href="telepathy-glib-connection.html#TpConnection--capabilities" title='The "capabilities" property'><span class="type">"capabilities"</span></a> property. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
16641664 </td>
16651665 </tr>
16661666 </tbody>
11481148 <tr>
11491149 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
11501150 <td> the same <a class="link" href="telepathy-glib-capabilities.html#TpCapabilities"><span class="type">TpCapabilities</span></a> (or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>) as the
1151 <a class="link" href="telepathy-glib-contact.html#TpContact--capabilities" title='The "capabilities" property'><span class="type">"capabilities"</span></a> property
1152
1151 <a class="link" href="telepathy-glib-contact.html#TpContact--capabilities" title='The "capabilities" property'><span class="type">"capabilities"</span></a> property. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
11531152 </td>
11541153 </tr>
11551154 </tbody>
12731273 <pre class="programlisting">typedef enum {
12741274 TP_DELIVERY_REPORTING_SUPPORT_FLAG_RECEIVE_FAILURES = 1,
12751275 TP_DELIVERY_REPORTING_SUPPORT_FLAG_RECEIVE_SUCCESSES = 2,
1276 TP_DELIVERY_REPORTING_SUPPORT_FLAG_RECEIVE_READ = 4,
1277 TP_DELIVERY_REPORTING_SUPPORT_FLAG_RECEIVE_DELETED = 8,
12761278 } TpDeliveryReportingSupportFlags;
12771279 </pre>
12781280 <p>
1279 Flags indicating the level of support for delivery reporting on this channel. Any future flags added to this set will conform to the convention that the presence of an extra flag implies that more operations will succeed.
1281 Flags indicating the level of support for delivery reporting on this channel, as found on the DeliveryReportingSupport property. Any future flags added to this set will conform to the convention that the presence of an extra flag implies that more operations will succeed. Note that CMs may always provide more reports than are requested in the Message_Sending_Flags passed to SendMessage. If senders want delivery reports, they should ask for them. If they don't want delivery reports, they can just ignore them, so there's no need to have capability discovery for what will happen if a delivery report isn't requested.
12801282 </p>
12811283 <p>
12821284 Bitfield/set of flags generated from the Telepathy specification.
12861288 <tbody>
12871289 <tr>
12881290 <td><p><a name="TP-DELIVERY-REPORTING-SUPPORT-FLAG-RECEIVE-FAILURES:CAPS"></a><span class="term"><code class="literal">TP_DELIVERY_REPORTING_SUPPORT_FLAG_RECEIVE_FAILURES</code></span></p></td>
1289 <td> Clients MAY expect to receive negative delivery reports if Message_Sending_Flag_Report_Delivery is specified when sending. If senders want delivery reports, they should ask for them. If they don't want delivery reports, they can just ignore them, so there's no need to have capability discovery for what will happen if a delivery report isn't requested.
1291 <td> Clients MAY expect to receive negative delivery reports if Message_Sending_Flag_Report_Delivery is specified when sending.
12901292 </td>
12911293 </tr>
12921294 <tr>
12931295 <td><p><a name="TP-DELIVERY-REPORTING-SUPPORT-FLAG-RECEIVE-SUCCESSES:CAPS"></a><span class="term"><code class="literal">TP_DELIVERY_REPORTING_SUPPORT_FLAG_RECEIVE_SUCCESSES</code></span></p></td>
1294 <td> Clients MAY expect to receive positive delivery reports if Message_Sending_Flag_Report_Delivery is specified when sending. Same rationale as Receive_Failures.
1296 <td> Clients MAY expect to receive positive delivery reports if Message_Sending_Flag_Report_Delivery is specified when sending.
1297 </td>
1298 </tr>
1299 <tr>
1300 <td><p><a name="TP-DELIVERY-REPORTING-SUPPORT-FLAG-RECEIVE-READ:CAPS"></a><span class="term"><code class="literal">TP_DELIVERY_REPORTING_SUPPORT_FLAG_RECEIVE_READ</code></span></p></td>
1301 <td> Clients MAY expect to receive Delivery_Status Read reports if Message_Sending_Flag_Report_Read is specified when sending.
1302 </td>
1303 </tr>
1304 <tr>
1305 <td><p><a name="TP-DELIVERY-REPORTING-SUPPORT-FLAG-RECEIVE-DELETED:CAPS"></a><span class="term"><code class="literal">TP_DELIVERY_REPORTING_SUPPORT_FLAG_RECEIVE_DELETED</code></span></p></td>
1306 <td> Clients MAY expect to receive Delivery_Status Deleted reports if Message_Sending_Flag_Report_Deleted is specified when sending.
12951307 </td>
12961308 </tr>
12971309 </tbody>
13061318 TP_DELIVERY_STATUS_TEMPORARILY_FAILED = 2,
13071319 TP_DELIVERY_STATUS_PERMANENTLY_FAILED = 3,
13081320 TP_DELIVERY_STATUS_ACCEPTED = 4,
1321 TP_DELIVERY_STATUS_READ = 5,
1322 TP_DELIVERY_STATUS_DELETED = 6,
13091323 } TpDeliveryStatus;
13101324 </pre>
13111325 <p>
13421356 <td> An intermediate server has accepted the message but the message has not been yet delivered to the ultimate recipient. The connection manager might send a Failed report or Delivered report later. Similar to "202 Accepted" success code in SIP; analogous to 251 and 252 responses in SMTP.
13431357 </td>
13441358 </tr>
1359 <tr>
1360 <td><p><a name="TP-DELIVERY-STATUS-READ:CAPS"></a><span class="term"><code class="literal">TP_DELIVERY_STATUS_READ</code></span></p></td>
1361 <td> The message has been read by the intended recipient.
1362 </td>
1363 </tr>
1364 <tr>
1365 <td><p><a name="TP-DELIVERY-STATUS-DELETED:CAPS"></a><span class="term"><code class="literal">TP_DELIVERY_STATUS_DELETED</code></span></p></td>
1366 <td> The message has been deleted by the intended recipient. This MAY be signalled on its own if the message is deleted without being read, or after Read if the message was read before being deleted.
1367 </td>
1368 </tr>
13451369 </tbody>
13461370 </table></div>
13471371 </div>
13481372 <hr>
13491373 <div class="refsect2" title="NUM_TP_DELIVERY_STATUSES">
13501374 <a name="NUM-TP-DELIVERY-STATUSES:CAPS"></a><h3>NUM_TP_DELIVERY_STATUSES</h3>
1351 <pre class="programlisting">#define NUM_TP_DELIVERY_STATUSES (4+1)
1375 <pre class="programlisting">#define NUM_TP_DELIVERY_STATUSES (6+1)
13521376 </pre>
13531377 <p>
13541378 1 higher than the highest valid value of <a class="link" href="telepathy-glib-enums.html#TpDeliveryStatus" title="enum TpDeliveryStatus"><span class="type">TpDeliveryStatus</span></a>.
15661590 <a name="TpMessageSendingFlags"></a><h3>enum TpMessageSendingFlags</h3>
15671591 <pre class="programlisting">typedef enum {
15681592 TP_MESSAGE_SENDING_FLAG_REPORT_DELIVERY = 1,
1593 TP_MESSAGE_SENDING_FLAG_REPORT_READ = 2,
1594 TP_MESSAGE_SENDING_FLAG_REPORT_DELETED = 4,
15691595 } TpMessageSendingFlags;
15701596 </pre>
15711597 <p>
1572 Flags altering the way a message is sent. The "most usual" action should always be to have these flags unset.
1573 </p>
1574 <p>
1575 Bitfield/set of flags generated from the Telepathy specification.
1576 </p>
1577 <div class="variablelist"><table border="0">
1578 <col align="left" valign="top">
1579 <tbody><tr>
1598 Flags altering the way a message is sent. The "most usual" action should always be to have these flags unset. Some indication of which flags are supported is provided by the DeliveryReportingSupport property.
1599 </p>
1600 <p>
1601 Bitfield/set of flags generated from the Telepathy specification.
1602 </p>
1603 <div class="variablelist"><table border="0">
1604 <col align="left" valign="top">
1605 <tbody>
1606 <tr>
15801607 <td><p><a name="TP-MESSAGE-SENDING-FLAG-REPORT-DELIVERY:CAPS"></a><span class="term"><code class="literal">TP_MESSAGE_SENDING_FLAG_REPORT_DELIVERY</code></span></p></td>
15811608 <td> Provide a successful delivery report if possible, even if this is not the default for this protocol. Ignored if delivery reports are not possible on this protocol. In some protocols, like XMPP, it is not conventional to request or send positive delivery notifications. Delivery failure reports SHOULD always be sent, but if this flag is present, the connection manager MAY also try harder to obtain failed delivery reports or allow them to be matched to outgoing messages.
15821609 </td>
1583 </tr></tbody>
1610 </tr>
1611 <tr>
1612 <td><p><a name="TP-MESSAGE-SENDING-FLAG-REPORT-READ:CAPS"></a><span class="term"><code class="literal">TP_MESSAGE_SENDING_FLAG_REPORT_READ</code></span></p></td>
1613 <td> Provide a delivery report when the message is read by the recipient, even if this is not the default for this protocol. Ignored if read reports are not possible on this protocol.
1614 </td>
1615 </tr>
1616 <tr>
1617 <td><p><a name="TP-MESSAGE-SENDING-FLAG-REPORT-DELETED:CAPS"></a><span class="term"><code class="literal">TP_MESSAGE_SENDING_FLAG_REPORT_DELETED</code></span></p></td>
1618 <td> Provide a delivery report when the message is deleted by the recipient, even if this is not the default for this protocol. Ignored if such reports are not possible on this protocol.
1619 </td>
1620 </tr>
1621 </tbody>
15841622 </table></div>
15851623 </div>
15861624 <hr>
716716 &lt;p&gt;
717717 An amount of money in a specified currency. For example,
718718 3.21 British pounds would conventionally be represented by
719 (Amount = 321, Scale = 2, Currency = &amp;quot;GBP&amp;quot;), but could be
720 represented by (Amount = 3210, Scale = 3, Currency = &amp;quot;GBP&amp;quot;)
721 in a service that records balance in units of 0.001 pounds.
719 (
720 &lt;var&gt;
721 Amount
722 &lt;/var&gt;
723 =
724 &lt;tt&gt;
725 321
726 &lt;/tt&gt;
727 ,
728 &lt;var&gt;
729 Scale
730 &lt;/var&gt;
731 =
732 &lt;tt&gt;
733 2
734 &lt;/tt&gt;
735 ,
736
737 &lt;var&gt;
738 Currency
739 &lt;/var&gt;
740 =
741 &lt;tt&gt;
742 &amp;quot;GBP&amp;quot;
743 &lt;/tt&gt;
744 ), but could be represented by
745 (
746 &lt;var&gt;
747 Amount
748 &lt;/var&gt;
749 =
750 &lt;tt&gt;
751 3210
752 &lt;/tt&gt;
753 ,
754 &lt;var&gt;
755 Scale
756 &lt;/var&gt;
757 =
758 &lt;tt&gt;
759 3
760 &lt;/tt&gt;
761 ,
762
763 &lt;var&gt;
764 Currency
765 &lt;/var&gt;
766 =
767 &lt;tt&gt;
768 &amp;quot;GBP&amp;quot;
769 &lt;/tt&gt;
770 ) in a service that records
771 balance in units of 0.001 pounds.
722772 &lt;/p&gt;
723773
724774 </p>
725775 <p>
726776
727777 &lt;p&gt;
728 As a special case, if Amount = 0, Scale = 2**32 - 1 (i.e.
729 the largest possible 32-bit unsigned integer) and Currency = &amp;quot;&amp;quot;,
730 this indicates an unknown amount.
778 As a special case, if
779 &lt;var&gt;
780 Amount
781 &lt;/var&gt;
782 =
783 &lt;tt&gt;
784 0
785 &lt;/tt&gt;
786 ,
787
788 &lt;var&gt;
789 Scale
790 &lt;/var&gt;
791 =
792 &lt;tt&gt;
793 2**32 - 1
794 &lt;/tt&gt;
795 (i.e. the largest possible
796 32-bit unsigned integer) and
797 &lt;var&gt;
798 Currency
799 &lt;/var&gt;
800 =
801 &lt;tt&gt;
802 &amp;quot;&amp;quot;
803 &lt;/tt&gt;
804 , this
805 indicates an unknown amount.
731806 &lt;/p&gt;
732807
733808
741816 <p>
742817 Member 0 (D-Bus type <code class="literal">i</code>,
743818 named <code class="literal">Amount</code>):
744 &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt; &lt;p&gt;The amount, expressed as a fixed-point number with decimal scale defined by the Scale property; for instance, an Amount value of 1234 with Scale of 2 represents 12.34 in the currency unit given by the Currency.&lt;/p&gt;
819 &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt; &lt;p&gt;The amount, expressed as a fixed-point number with decimal scale defined by the &lt;var&gt;Scale&lt;/var&gt; field; for instance, an &lt;var&gt;Amount&lt;/var&gt; value of &lt;tt&gt;1234&lt;/tt&gt; with &lt;var&gt;Scale&lt;/var&gt; of &lt;tt&gt;2&lt;/tt&gt; represents 12.34 in the currency unit given by the &lt;var&gt;Currency&lt;/var&gt; field.&lt;/p&gt;
745820 </p>
746821 <p>
747822 Member 1 (D-Bus type <code class="literal">u</code>,
748823 named <code class="literal">Scale</code>):
749 &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt; &lt;p&gt;The decimal scale for the fixed point value of the Amount property, defining the number of rightmost decimal digits from the integer value which form the fractional part of the resulting currency value.&lt;/p&gt; &lt;p&gt;As well as defining the interpretation of Amount, user interfaces may use this value to determine the precision with which to display the amount.&lt;/p&gt;
824 &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt; &lt;p&gt;The decimal scale for the fixed point value of the &lt;var&gt;Amount&lt;/var&gt; field, defining the number of rightmost decimal digits from the integer value which form the fractional part of the resulting currency value.&lt;/p&gt; &lt;p&gt;As well as defining the interpretation of &lt;var&gt;Amount&lt;/var&gt;, user interfaces may use this value to determine the precision with which to display the amount.&lt;/p&gt;
750825 </p>
751826 <p>
752827 Member 2 (D-Bus type <code class="literal">s</code>,
753828 named <code class="literal">Currency</code>):
754 The currency code represented by this amount, which SHOULD be an international currency code such as &amp;quot;EUR&amp;quot;, &amp;quot;USD&amp;quot;, or &amp;quot;JPY&amp;quot; if possible. An empty string can be used to indicate that the currency is not known.
829 The currency code represented by this amount, which SHOULD be an international currency code such as &lt;tt&gt;&amp;quot;EUR&amp;quot;&lt;/tt&gt;, &lt;tt&gt;&amp;quot;USD&amp;quot;&lt;/tt&gt;, or &lt;tt&gt;&amp;quot;JPY&amp;quot;&lt;/tt&gt; if possible. An empty string can be used to indicate that the currency is not known.
755830 </p>
756831 </div>
757832 <hr>
11461146 <p>
11471147 </p>
11481148 <div class="example">
1149 <a name="id1127134"></a><p class="title"><b>Example 2.  using tp_value_array_build</b></p>
1149 <a name="id946166"></a><p class="title"><b>Example 2.  using tp_value_array_build</b></p>
11501150 <div class="example-contents">
11511151 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
11521152 <tbody>
12121212 <p>
12131213 </p>
12141214 <div class="example">
1215 <a name="id1127313"></a><p class="title"><b>Example 3. using tp_value_array_unpack</b></p>
1215 <a name="id946345"></a><p class="title"><b>Example 3. using tp_value_array_unpack</b></p>
12161216 <div class="example-contents">
12171217 <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
12181218 <tbody>
15751575 </tr>
15761576 </tbody>
15771577 </table></div>
1578 <p class="since">Since 0.11.UNRELEASED</p>
1578 <p class="since">Since 0.11.9</p>
15791579 </div>
15801580 </div>
15811581 </div>
15491549 <keyword type="function" name="tp_account_get_connection_manager ()" link="telepathy-glib-account.html#tp-account-get-connection-manager" since="0.9.0"/>
15501550 <keyword type="function" name="tp_account_get_protocol ()" link="telepathy-glib-account.html#tp-account-get-protocol" since="0.9.0"/>
15511551 <keyword type="function" name="tp_account_get_icon_name ()" link="telepathy-glib-account.html#tp-account-get-icon-name" since="0.9.0"/>
1552 <keyword type="function" name="tp_account_get_service ()" link="telepathy-glib-account.html#tp-account-get-service" since="0.11.UNRELEASED"/>
1552 <keyword type="function" name="tp_account_get_service ()" link="telepathy-glib-account.html#tp-account-get-service" since="0.11.9"/>
15531553 <keyword type="function" name="tp_account_set_enabled_async ()" link="telepathy-glib-account.html#tp-account-set-enabled-async" since="0.9.0"/>
15541554 <keyword type="function" name="tp_account_set_enabled_finish ()" link="telepathy-glib-account.html#tp-account-set-enabled-finish" since="0.9.0"/>
15551555 <keyword type="function" name="tp_account_reconnect_async ()" link="telepathy-glib-account.html#tp-account-reconnect-async" since="0.9.0"/>
15641564 <keyword type="function" name="tp_account_set_display_name_finish ()" link="telepathy-glib-account.html#tp-account-set-display-name-finish" since="0.9.0"/>
15651565 <keyword type="function" name="tp_account_set_icon_name_async ()" link="telepathy-glib-account.html#tp-account-set-icon-name-async" since="0.9.0"/>
15661566 <keyword type="function" name="tp_account_set_icon_name_finish ()" link="telepathy-glib-account.html#tp-account-set-icon-name-finish" since="0.9.0"/>
1567 <keyword type="function" name="tp_account_set_service_async ()" link="telepathy-glib-account.html#tp-account-set-service-async" since="0.11.UNRELEASED"/>
1568 <keyword type="function" name="tp_account_set_service_finish ()" link="telepathy-glib-account.html#tp-account-set-service-finish" since="0.11.UNRELEASED"/>
1567 <keyword type="function" name="tp_account_set_service_async ()" link="telepathy-glib-account.html#tp-account-set-service-async" since="0.11.9"/>
1568 <keyword type="function" name="tp_account_set_service_finish ()" link="telepathy-glib-account.html#tp-account-set-service-finish" since="0.11.9"/>
15691569 <keyword type="function" name="tp_account_request_presence_async ()" link="telepathy-glib-account.html#tp-account-request-presence-async" since="0.9.0"/>
15701570 <keyword type="function" name="tp_account_request_presence_finish ()" link="telepathy-glib-account.html#tp-account-request-presence-finish" since="0.9.0"/>
15711571 <keyword type="function" name="tp_account_get_connect_automatically ()" link="telepathy-glib-account.html#tp-account-get-connect-automatically" since="0.9.0"/>
28432843 <keyword type="macro" name="tp_clear_pointer()" link="telepathy-glib-util.html#tp-clear-pointer" since="0.11.7"/>
28442844 <keyword type="macro" name="tp_clear_object()" link="telepathy-glib-util.html#tp-clear-object" since="0.11.7"/>
28452845 <keyword type="macro" name="tp_clear_boxed()" link="telepathy-glib-util.html#tp-clear-boxed" since="0.11.7"/>
2846 <keyword type="function" name="tp_simple_async_report_success_in_idle ()" link="telepathy-glib-util.html#tp-simple-async-report-success-in-idle" since="0.11.UNRELEASED"/>
2846 <keyword type="function" name="tp_simple_async_report_success_in_idle ()" link="telepathy-glib-util.html#tp-simple-async-report-success-in-idle" since="0.11.9"/>
28472847 <keyword type="function" name="tp_g_socket_address_from_variant ()" link="telepathy-glib-gnio-util.html#tp-g-socket-address-from-variant"/>
28482848 <keyword type="function" name="tp_address_variant_from_g_socket_address ()" link="telepathy-glib-gnio-util.html#tp-address-variant-from-g-socket-address"/>
28492849 <keyword type="macro" name="TP_ANSI_RESET" link="telepathy-glib-debug-ansi.html#TP-ANSI-RESET:CAPS"/>
30543054 <keyword type="constant" name="TP_CHANNEL_PASSWORD_FLAG_PROVIDE" link="telepathy-glib-enums.html#TP-CHANNEL-PASSWORD-FLAG-PROVIDE:CAPS"/>
30553055 <keyword type="constant" name="TP_DELIVERY_REPORTING_SUPPORT_FLAG_RECEIVE_FAILURES" link="telepathy-glib-enums.html#TP-DELIVERY-REPORTING-SUPPORT-FLAG-RECEIVE-FAILURES:CAPS"/>
30563056 <keyword type="constant" name="TP_DELIVERY_REPORTING_SUPPORT_FLAG_RECEIVE_SUCCESSES" link="telepathy-glib-enums.html#TP-DELIVERY-REPORTING-SUPPORT-FLAG-RECEIVE-SUCCESSES:CAPS"/>
3057 <keyword type="constant" name="TP_DELIVERY_REPORTING_SUPPORT_FLAG_RECEIVE_READ" link="telepathy-glib-enums.html#TP-DELIVERY-REPORTING-SUPPORT-FLAG-RECEIVE-READ:CAPS"/>
3058 <keyword type="constant" name="TP_DELIVERY_REPORTING_SUPPORT_FLAG_RECEIVE_DELETED" link="telepathy-glib-enums.html#TP-DELIVERY-REPORTING-SUPPORT-FLAG-RECEIVE-DELETED:CAPS"/>
30573059 <keyword type="constant" name="TP_DELIVERY_STATUS_UNKNOWN" link="telepathy-glib-enums.html#TP-DELIVERY-STATUS-UNKNOWN:CAPS"/>
30583060 <keyword type="constant" name="TP_DELIVERY_STATUS_DELIVERED" link="telepathy-glib-enums.html#TP-DELIVERY-STATUS-DELIVERED:CAPS"/>
30593061 <keyword type="constant" name="TP_DELIVERY_STATUS_TEMPORARILY_FAILED" link="telepathy-glib-enums.html#TP-DELIVERY-STATUS-TEMPORARILY-FAILED:CAPS"/>
30603062 <keyword type="constant" name="TP_DELIVERY_STATUS_PERMANENTLY_FAILED" link="telepathy-glib-enums.html#TP-DELIVERY-STATUS-PERMANENTLY-FAILED:CAPS"/>
30613063 <keyword type="constant" name="TP_DELIVERY_STATUS_ACCEPTED" link="telepathy-glib-enums.html#TP-DELIVERY-STATUS-ACCEPTED:CAPS"/>
3064 <keyword type="constant" name="TP_DELIVERY_STATUS_READ" link="telepathy-glib-enums.html#TP-DELIVERY-STATUS-READ:CAPS"/>
3065 <keyword type="constant" name="TP_DELIVERY_STATUS_DELETED" link="telepathy-glib-enums.html#TP-DELIVERY-STATUS-DELETED:CAPS"/>
30623066 <keyword type="constant" name="TP_MEDIA_STREAM_ERROR_UNKNOWN" link="telepathy-glib-enums.html#TP-MEDIA-STREAM-ERROR-UNKNOWN:CAPS"/>
30633067 <keyword type="constant" name="TP_MEDIA_STREAM_ERROR_EOS" link="telepathy-glib-enums.html#TP-MEDIA-STREAM-ERROR-EOS:CAPS"/>
30643068 <keyword type="constant" name="TP_MEDIA_STREAM_ERROR_CODEC_NEGOTIATION_FAILED" link="telepathy-glib-enums.html#TP-MEDIA-STREAM-ERROR-CODEC-NEGOTIATION-FAILED:CAPS"/>
30773081 <keyword type="constant" name="TP_MESSAGE_PART_SUPPORT_FLAG_ONE_ATTACHMENT" link="telepathy-glib-enums.html#TP-MESSAGE-PART-SUPPORT-FLAG-ONE-ATTACHMENT:CAPS"/>
30783082 <keyword type="constant" name="TP_MESSAGE_PART_SUPPORT_FLAG_MULTIPLE_ATTACHMENTS" link="telepathy-glib-enums.html#TP-MESSAGE-PART-SUPPORT-FLAG-MULTIPLE-ATTACHMENTS:CAPS"/>
30793083 <keyword type="constant" name="TP_MESSAGE_SENDING_FLAG_REPORT_DELIVERY" link="telepathy-glib-enums.html#TP-MESSAGE-SENDING-FLAG-REPORT-DELIVERY:CAPS"/>
3084 <keyword type="constant" name="TP_MESSAGE_SENDING_FLAG_REPORT_READ" link="telepathy-glib-enums.html#TP-MESSAGE-SENDING-FLAG-REPORT-READ:CAPS"/>
3085 <keyword type="constant" name="TP_MESSAGE_SENDING_FLAG_REPORT_DELETED" link="telepathy-glib-enums.html#TP-MESSAGE-SENDING-FLAG-REPORT-DELETED:CAPS"/>
30803086 <keyword type="constant" name="TP_SOCKET_ACCESS_CONTROL_LOCALHOST" link="telepathy-glib-enums.html#TP-SOCKET-ACCESS-CONTROL-LOCALHOST:CAPS"/>
30813087 <keyword type="constant" name="TP_SOCKET_ACCESS_CONTROL_PORT" link="telepathy-glib-enums.html#TP-SOCKET-ACCESS-CONTROL-PORT:CAPS"/>
30823088 <keyword type="constant" name="TP_SOCKET_ACCESS_CONTROL_NETMASK" link="telepathy-glib-enums.html#TP-SOCKET-ACCESS-CONTROL-NETMASK:CAPS"/>
349349
350350 @TP_DELIVERY_REPORTING_SUPPORT_FLAG_RECEIVE_FAILURES:
351351 @TP_DELIVERY_REPORTING_SUPPORT_FLAG_RECEIVE_SUCCESSES:
352 @TP_DELIVERY_REPORTING_SUPPORT_FLAG_RECEIVE_READ:
353 @TP_DELIVERY_REPORTING_SUPPORT_FLAG_RECEIVE_DELETED:
352354
353355 <!-- ##### ENUM TpDeliveryStatus ##### -->
354356 <para>
360362 @TP_DELIVERY_STATUS_TEMPORARILY_FAILED:
361363 @TP_DELIVERY_STATUS_PERMANENTLY_FAILED:
362364 @TP_DELIVERY_STATUS_ACCEPTED:
365 @TP_DELIVERY_STATUS_READ:
366 @TP_DELIVERY_STATUS_DELETED:
363367
364368 <!-- ##### MACRO NUM_TP_DELIVERY_STATUSES ##### -->
365369 <para>
442446 </para>
443447
444448 @TP_MESSAGE_SENDING_FLAG_REPORT_DELIVERY:
449 @TP_MESSAGE_SENDING_FLAG_REPORT_READ:
450 @TP_MESSAGE_SENDING_FLAG_REPORT_DELETED:
445451
446452 <!-- ##### MACRO NUM_TP_SOCKET_ACCESS_CONTROLS ##### -->
447453 <para>
625625 <dt>content-type (s)</dt>
626626 <dd>
627627 <p>The MIME type of this part. See the documentation
628 for ReceivedMessage for notes on the special status of
629 "text/plain" parts.</p>
628 for <tp:member-ref>MessageReceived</tp:member-ref> and
629 <tp:member-ref>MessageSent</tp:member-ref> for notes on the
630 special status of "text/plain" parts.</p>
630631
631632 <p>Connection managers MUST NOT signal parts without a
632633 'content-type' key; if a protocol provides no way to determine
941942 <arg direction="in" name="Flags" type="u"
942943 tp:type="Message_Sending_Flags">
943944 <tp:docstring>
944 Flags affecting how the message is sent.
945 Flags affecting how the message is sent. The channel MAY ignore some
946 or all flags, depending on
947 <tp:member-ref>DeliveryReportingSupport</tp:member-ref>; the flags
948 that were handled by the CM are provided in
949 <tp:member-ref>MessageSent</tp:member-ref>.
945950 </tp:docstring>
946951 </arg>
947952
970975 type="u">
971976 <tp:docstring>
972977 Flags altering the way a message is sent. The "most usual" action
973 should always be to have these flags unset.
978 should always be to have these flags unset. Some indication of which
979 flags are supported is provided by the
980 <tp:member-ref>DeliveryReportingSupport</tp:member-ref> property.
974981 </tp:docstring>
975982
976983 <tp:flag suffix="Report_Delivery" value="1">
988995 is present, the connection manager MAY also try harder to obtain
989996 failed delivery reports or allow them to be matched to outgoing
990997 messages.</p>
998 </tp:docstring>
999 </tp:flag>
1000
1001 <tp:flag suffix="Report_Read" value="2">
1002 <tp:added version="0.19.9"/>
1003 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
1004 <p>Provide a delivery report when the message is read by the
1005 recipient, even if this is not the default for this protocol.
1006 Ignored if read reports are not possible on this protocol.</p>
1007 </tp:docstring>
1008 </tp:flag>
1009
1010 <tp:flag suffix="Report_Deleted" value="4">
1011 <tp:added version="0.19.9"/>
1012 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
1013 <p>Provide a delivery report when the message is deleted by the
1014 recipient, even if this is not the default for this protocol.
1015 Ignored if such reports are not possible on this protocol.</p>
9911016 </tp:docstring>
9921017 </tp:flag>
9931018 </tp:flags>
11501175
11511176 <arg type="aa{sv}" tp:type="Message_Part[]" name="Message">
11521177 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
1153 The message content, including any attachments or alternatives
1178 <p>The message content, including any attachments or alternatives. If
1179 the incoming message contains formatted text without a plain text
1180 alternative, the connection manager MUST generate a
1181 <tt>text/plain</tt> alternative from the formatted text, and
1182 include it in this message (both here, and in the
1183 <tp:member-ref>PendingMessages</tp:member-ref> property).</p>
11541184 </tp:docstring>
11551185 </arg>
11561186 </signal>
12231253 </tp:rationale>
12241254 </tp:docstring>
12251255 </tp:enumvalue>
1256
1257 <tp:enumvalue suffix="Read" value="5">
1258 <tp:added version="0.19.9"/>
1259 <tp:docstring>
1260 The message has been read by the intended recipient.
1261 </tp:docstring>
1262 </tp:enumvalue>
1263
1264 <tp:enumvalue suffix="Deleted" value="6">
1265 <tp:added version="0.19.9"/>
1266 <tp:docstring>
1267 The message has been deleted by the intended recipient. This MAY be
1268 signalled on its own if the message is deleted without being read, or
1269 after <code>Read</code> if the message was read before being deleted.
1270 </tp:docstring>
1271 </tp:enumvalue>
12261272 </tp:enum>
12271273
12281274 <tp:flags name="Delivery_Reporting_Support_Flags"
12291275 value-prefix="Delivery_Reporting_Support_Flag" type="u">
12301276 <tp:docstring>
12311277 Flags indicating the level of support for delivery reporting on this
1232 channel. Any future flags added to this set will conform to the
1278 channel, as found on the
1279 <tp:member-ref>DeliveryReportingSupport</tp:member-ref> property. Any
1280 future flags added to this set will conform to the
12331281 convention that the presence of an extra flag implies that
1234 more operations will succeed.
1282 more operations will succeed. Note that CMs may always provide more
1283 reports than are requested in the
1284 <tp:type>Message_Sending_Flags</tp:type> passed to
1285 <tp:member-ref>SendMessage</tp:member-ref>.
1286
1287 <tp:rationale>
1288 If senders want delivery reports, they should ask for them. If they
1289 don't want delivery reports, they can just ignore them, so there's no
1290 need to have capability discovery for what will happen if a delivery
1291 report isn't requested.
1292 </tp:rationale>
12351293 </tp:docstring>
12361294
12371295 <tp:flag suffix="Receive_Failures" value="1">
12381296 <tp:docstring>
12391297 Clients MAY expect to receive negative delivery reports if
12401298 Message_Sending_Flag_Report_Delivery is specified when sending.
1241
1242 <tp:rationale>
1243 If senders want delivery reports, they should ask for them.
1244 If they don't want delivery reports, they can just ignore them,
1245 so there's no need to have capability discovery for what will
1246 happen if a delivery report isn't requested.
1247 </tp:rationale>
12481299 </tp:docstring>
12491300 </tp:flag>
12501301
12521303 <tp:docstring>
12531304 Clients MAY expect to receive positive delivery reports if
12541305 Message_Sending_Flag_Report_Delivery is specified when sending.
1255
1256 <tp:rationale>
1257 Same rationale as Receive_Failures.
1258 </tp:rationale>
12591306 </tp:docstring>
12601307 </tp:flag>
12611308
1309 <tp:flag suffix="Receive_Read" value="4">
1310 <tp:added version="0.19.9"/>
1311 <tp:docstring>
1312 Clients MAY expect to receive <tp:type>Delivery_Status</tp:type>
1313 <code>Read</code> reports if Message_Sending_Flag_Report_Read
1314 is specified when sending.
1315 </tp:docstring>
1316 </tp:flag>
1317
1318 <tp:flag suffix="Receive_Deleted" value="8">
1319 <tp:added version="0.19.9"/>
1320 <tp:docstring>
1321 Clients MAY expect to receive <tp:type>Delivery_Status</tp:type>
1322 <code>Deleted</code> reports if Message_Sending_Flag_Report_Deleted
1323 is specified when sending.
1324 </tp:docstring>
1325 </tp:flag>
12621326 </tp:flags>
12631327
12641328 <property name="DeliveryReportingSupport" access="read"
3434 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
3535 <p>An amount of money in a specified currency. For example,
3636 3.21 British pounds would conventionally be represented by
37 (Amount = 321, Scale = 2, Currency = "GBP"), but could be
38 represented by (Amount = 3210, Scale = 3, Currency = "GBP")
39 in a service that records balance in units of 0.001 pounds.</p>
37 (<var>Amount</var> = <tt>321</tt>, <var>Scale</var> = <tt>2</tt>,
38 <var>Currency</var> = <tt>"GBP"</tt>), but could be represented by
39 (<var>Amount</var> = <tt>3210</tt>, <var>Scale</var> = <tt>3</tt>,
40 <var>Currency</var> = <tt>"GBP"</tt>) in a service that records
41 balance in units of 0.001 pounds.</p>
4042
41 <p>As a special case, if Amount = 0, Scale = 2**32 - 1 (i.e.
42 the largest possible 32-bit unsigned integer) and Currency = "",
43 this indicates an unknown amount.</p>
43 <p>As a special case, if <var>Amount</var> = <tt>0</tt>,
44 <var>Scale</var> = <tt>2**32 - 1</tt> (i.e. the largest possible
45 32-bit unsigned integer) and <var>Currency</var> = <tt>""</tt>, this
46 indicates an unknown amount.</p>
4447 </tp:docstring>
4548
4649 <tp:member type="i" name="Amount">
4750 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
4851 <p>The amount, expressed as a fixed-point number with decimal scale
49 defined by the Scale property; for instance, an Amount value of
50 1234 with Scale of 2 represents 12.34 in the currency unit given
51 by the Currency.</p>
52 defined by the <var>Scale</var> field; for instance, an
53 <var>Amount</var> value of <tt>1234</tt> with <var>Scale</var> of
54 <tt>2</tt> represents 12.34 in the currency unit given by the
55 <var>Currency</var> field.</p>
5256 </tp:docstring>
5357 </tp:member>
5458 <tp:member type="u" name="Scale">
5559 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
56 <p>The decimal scale for the fixed point value of the Amount
57 property, defining the number of rightmost decimal digits from
58 the integer value which form the fractional part of the resulting
59 currency value.</p>
60 <p>The decimal scale for the fixed point value of the
61 <var>Amount</var> field, defining the number of rightmost decimal
62 digits from the integer value which form the fractional part of the
63 resulting currency value.</p>
6064
61 <p>As well as defining the interpretation of Amount, user interfaces
62 may use this value to determine the precision with which to display
63 the amount.</p>
65 <p>As well as defining the interpretation of <var>Amount</var>, user
66 interfaces may use this value to determine the precision with which
67 to display the amount.</p>
6468 </tp:docstring>
6569 </tp:member>
6670 <tp:member type="s" name="Currency">
6771 <tp:docstring>
6872 The currency code represented by this amount, which SHOULD be an
69 international currency code such as "EUR", "USD", or "JPY" if
70 possible. An empty string can be used to indicate that the currency
71 is not known.
73 international currency code such as <tt>"EUR"</tt>, <tt>"USD"</tt>,
74 or <tt>"JPY"</tt> if possible. An empty string can be used to
75 indicate that the currency is not known.
7276 </tp:docstring>
7377 </tp:member>
7478 </tp:struct>
7680 <property name="AccountBalance" tp:name-for-bindings="Account_Balance"
7781 access="read" type="(ius)" tp:type="Currency_Amount">
7882 <tp:docstring xmlns="http://www.w3.org/1999/xhtml">
79 <p>The user's balance on the account corresponding to this Connection.
83 <p>The user's balance on the account corresponding to this <tp:dbus-ref
84 namespace="org.freedesktop.Telepathy">Connection</tp:dbus-ref>.
8085 A negative amount may be possible on some services, and indicates
8186 that the user owes money to the service provider.</p>
8287
8388 <p>On initial connection, this property may have an unknown
84 value, represented by Amount = 0, Scale = 2**32 - 1 (the largest
85 possible 32-bit unsigned integer) and Currency = "".</p>
89 value, represented by <var>Amount</var> = <tt>0</tt>,
90 <var>Scale</var> = <tt>2**32 - 1</tt> (the largest possible 32-bit
91 unsigned integer) and <var>Currency</var> = <tt>""</tt>.</p>
8692 </tp:docstring>
8793 </property>
8894
22 xmlns:xi="http://www.w3.org/2001/XInclude">
33
44 <tp:title>Telepathy D-Bus Interface Specification</tp:title>
5 <tp:version>0.19.8</tp:version>
5 <tp:version>0.19.9</tp:version>
66
77 <tp:copyright>Copyright © 2005-2010 Collabora Limited</tp:copyright>
88 <tp:copyright>Copyright © 2005-2010 Nokia Corporation</tp:copyright>
7777 *
7878 * <!-- -->
7979 *
80 * Returns: the same #GPtrArray as the #TpCapabilities:channel-classes property
80 * Returns: (transfer none): the same #GPtrArray as the
81 * #TpCapabilities:channel-classes property
8182 *
8283 * Since: 0.11.3
8384 */
103103 * it matches a channel class handled by this manager. If so, they should
104104 * return %TRUE to accept responsibility for the request, and ultimately emit
105105 * exactly one of the #TpChannelManager::new-channels,
106 * #TpChannelManager::already-satisfied and
106 * #TpChannelManager::request-already-satisfied and
107107 * #TpChannelManager::request-failed signals (including @request_token in
108108 * the appropriate argument).
109109 *
20442044 *
20452045 * <!-- -->
20462046 *
2047 * Returns: the same #TpCapabilities as the #TpConnection:capabilities
2048 * property
2047 * Returns: (transfer none): the same #TpCapabilities as the
2048 * #TpConnection:capabilities property
20492049 * Since: 0.11.3
20502050 */
20512051 TpCapabilities *
470470 *
471471 * <!-- -->
472472 *
473 * Returns: the same #TpCapabilities (or %NULL) as the
473 * Returns: (transfer none): the same #TpCapabilities (or %NULL) as the
474474 * #TpContact:capabilities property
475475 *
476476 * Since: 0.11.3
25002500 TpProxyPendingCall *call;
25012501 GCancellable *cancellable;
25022502 gulong cancelled_id;
2503 guint cancel_idle_id;
25042503 } ContactInfoRequestData;
25052504
25062505 static void
2507 contact_info_request_data_disconnect_cancellable (ContactInfoRequestData *data)
2508 {
2509 if (data->cancelled_id != 0)
2510 g_cancellable_disconnect (data->cancellable, data->cancelled_id);
2511 data->cancelled_id = 0;
2512
2513 if (data->cancel_idle_id != 0)
2514 g_source_remove (data->cancel_idle_id);
2515 data->cancel_idle_id = 0;
2516 }
2517
2518 static void
25192506 contact_info_request_data_free (ContactInfoRequestData *data)
25202507 {
25212508 if (data != NULL)
25222509 {
25232510 g_object_unref (data->result);
25242511
2525 contact_info_request_data_disconnect_cancellable (data);
25262512 if (data->cancellable != NULL)
25272513 g_object_unref (data->cancellable);
25282514
25402526 ContactInfoRequestData *data = user_data;
25412527 TpContact *self = data->contact;
25422528
2543 /* At this point it's too late to cancel the operation */
2544 contact_info_request_data_disconnect_cancellable (data);
2529 if (data->cancellable != NULL)
2530 {
2531 /* At this point it's too late to cancel the operation. This will block
2532 * until the signal handler has finished if it's already running, so
2533 * we're guaranteed to never be in a partially-cancelled state after
2534 * this call. */
2535 g_cancellable_disconnect (data->cancellable, data->cancelled_id);
2536
2537 /* If this is true, the cancelled callback has already run and completed the
2538 * async result, so just bail. */
2539 if (data->cancelled_id == 0)
2540 return;
2541
2542 data->cancelled_id = 0;
2543 }
25452544
25462545 if (error != NULL)
25472546 {
25532552 contact_maybe_set_info (self, contact_info);
25542553 }
25552554
2556 g_simple_async_result_complete (data->result);
2555 g_simple_async_result_complete_in_idle (data->result);
25572556 data->call = NULL;
2558 }
2559
2560 static gboolean
2561 contact_info_request_cancelled_idle_cb (gpointer user_data)
2562 {
2563 ContactInfoRequestData *data = user_data;
2564 GError *error = NULL;
2565
2566 data->cancel_idle_id = 0;
2567
2568 if (!g_cancellable_set_error_if_cancelled (data->cancellable, &error))
2569 return FALSE;
2570
2571 DEBUG ("Request ContactInfo cancelled");
2572
2573 g_simple_async_result_set_from_error (data->result, error);
2574 g_simple_async_result_complete (data->result);
2575 g_clear_error (&error);
2576
2577 g_assert (data->call != NULL);
2578 tp_proxy_pending_call_cancel (data->call);
2579
2580 return FALSE;
25812557 }
25822558
25832559 static void
25842560 contact_info_request_cancelled_cb (GCancellable *cancellable,
25852561 ContactInfoRequestData *data)
25862562 {
2587 /* Cancellable is locked here, and g_cancellable_disconnect() also try to get
2588 * the lock. That could then make deadlock. To be safe we cancel the DBus call
2589 * in an idle callback. Use G_PRIORITY_HIGH to be sure our callback comes
2590 * before the DBus reply otherwise it could be racy. */
2591 data->cancel_idle_id = g_idle_add_full (G_PRIORITY_HIGH,
2592 contact_info_request_cancelled_idle_cb, data, NULL);
2563 GError *error = NULL;
2564 gboolean was_cancelled;
2565
2566 /* We disconnect from the signal manually; since we're in the cancelled
2567 * callback, we hold the cancellable's lock so calling this instead of
2568 * g_cancellable_disconnect() is fine. We do this here so that
2569 * g_cancellable_disconnect() isn't called by contact_info_request_data_free()
2570 * which is called by tp_proxy_pending_call_cancel().
2571 * cancelled_id might already be 0 if the cancellable was cancelled before
2572 * we connected to it. */
2573 if (data->cancelled_id != 0)
2574 g_signal_handler_disconnect (data->cancellable, data->cancelled_id);
2575 data->cancelled_id = 0;
2576
2577 was_cancelled = g_cancellable_set_error_if_cancelled (data->cancellable,
2578 &error);
2579 g_assert (was_cancelled);
2580
2581 DEBUG ("Request ContactInfo cancelled");
2582
2583 g_simple_async_result_set_from_error (data->result, error);
2584 g_simple_async_result_complete_in_idle (data->result);
2585 g_clear_error (&error);
2586
2587 if (data->call != NULL)
2588 tp_proxy_pending_call_cancel (data->call);
25932589 }
25942590
25952591 /**
26362632 data->result = g_simple_async_result_new (G_OBJECT (self), callback,
26372633 user_data, tp_contact_request_contact_info_finish);
26382634
2635 if (cancellable != NULL)
2636 {
2637 data->cancellable = g_object_ref (cancellable);
2638 data->cancelled_id = g_cancellable_connect (data->cancellable,
2639 G_CALLBACK (contact_info_request_cancelled_cb), data, NULL);
2640
2641 /* Return early if the cancellable has already been cancelled */
2642 if (data->cancelled_id == 0)
2643 return;
2644 }
2645
26392646 data->call = tp_cli_connection_interface_contact_info_call_request_contact_info (
26402647 self->priv->connection, 60*60*1000, self->priv->handle,
26412648 contact_info_request_cb,
26422649 data, (GDestroyNotify) contact_info_request_data_free,
26432650 NULL);
2644
2645 if (cancellable != NULL)
2646 {
2647 data->cancellable = g_object_ref (cancellable);
2648 data->cancelled_id = g_cancellable_connect (data->cancellable,
2649 G_CALLBACK (contact_info_request_cancelled_cb), data, NULL);
2650 }
2651
26522651 }
26532652
26542653 /**
785785 }
786786
787787 /**
788 * tp_asv_get_boolean: (skip)
789 * @asv: A GHashTable where the keys are strings and the values are GValues
788 * tp_asv_get_boolean:
789 * @asv: (element-type utf8 GObject.Value): A GHashTable where the keys are
790 * strings and the values are GValues
790791 * @key: The key to look up
791792 * @valid: Either %NULL, or a location to store %TRUE if the key actually
792793 * exists and has a boolean value
850851 }
851852
852853 /**
853 * tp_asv_get_bytes: (skip)
854 * @asv: A GHashTable where the keys are strings and the values are GValues
854 * tp_asv_get_bytes:
855 * @asv: (element-type utf8 GObject.Value): A GHashTable where the keys are
856 * strings and the values are GValues
855857 * @key: The key to look up
856858 *
857859 * If a value for @key in @asv is present and is an array of bytes
864866 * g_boxed_copy (DBUS_TYPE_G_UCHAR_ARRAY, ...) if you need to keep
865867 * it for longer.
866868 *
867 * Returns: the string value of @key, or %NULL
869 * Returns: (transfer none) (allow-none): the string value of @key, or %NULL
868870 * Since: 0.7.9
869871 */
870872 const GArray *
941943 }
942944
943945 /**
944 * tp_asv_get_string: (skip)
945 * @asv: A GHashTable where the keys are strings and the values are GValues
946 * tp_asv_get_string:
947 * @asv: (element-type utf8 GObject.Value): A GHashTable where the keys are
948 * strings and the values are GValues
946949 * @key: The key to look up
947950 *
948951 * If a value for @key in @asv is present and is a string, return it.
953956 * for @key in @asv is not removed or altered. Copy it with g_strdup() if you
954957 * need to keep it for longer.
955958 *
956 * Returns: the string value of @key, or %NULL
959 * Returns: (transfer none) (allow-none): the string value of @key, or %NULL
957960 * Since: 0.7.9
958961 */
959962 const gchar *
10501053 }
10511054
10521055 /**
1053 * tp_asv_get_int32: (skip)
1054 * @asv: A GHashTable where the keys are strings and the values are GValues
1056 * tp_asv_get_int32:
1057 * @asv: (element-type utf8 GObject.Value): A GHashTable where the keys are
1058 * strings and the values are GValues
10551059 * @key: The key to look up
10561060 * @valid: Either %NULL, or a location in which to store %TRUE on success or
10571061 * %FALSE on failure
11621166 }
11631167
11641168 /**
1165 * tp_asv_get_uint32: (skip)
1166 * @asv: A GHashTable where the keys are strings and the values are GValues
1169 * tp_asv_get_uint32:
1170 * @asv: (element-type utf8 GObject.Value): A GHashTable where the keys are
1171 * strings and the values are GValues
11671172 * @key: The key to look up
11681173 * @valid: Either %NULL, or a location in which to store %TRUE on success or
11691174 * %FALSE on failure
12741279 }
12751280
12761281 /**
1277 * tp_asv_get_int64: (skip)
1278 * @asv: A GHashTable where the keys are strings and the values are GValues
1282 * tp_asv_get_int64:
1283 * @asv: (element-type utf8 GObject.Value): A GHashTable where the keys are
1284 * strings and the values are GValues
12791285 * @key: The key to look up
12801286 * @valid: Either %NULL, or a location in which to store %TRUE on success or
12811287 * %FALSE on failure
13751381 }
13761382
13771383 /**
1378 * tp_asv_get_uint64: (skip)
1379 * @asv: A GHashTable where the keys are strings and the values are GValues
1384 * tp_asv_get_uint64:
1385 * @asv: (element-type utf8 GObject.Value): A GHashTable where the keys are
1386 * strings and the values are GValues
13801387 * @key: The key to look up
13811388 * @valid: Either %NULL, or a location in which to store %TRUE on success or
13821389 * %FALSE on failure
14801487 }
14811488
14821489 /**
1483 * tp_asv_get_double: (skip)
1484 * @asv: A GHashTable where the keys are strings and the values are GValues
1490 * tp_asv_get_double:
1491 * @asv: (element-type utf8 GObject.Value): A GHashTable where the keys are
1492 * strings and the values are GValues
14851493 * @key: The key to look up
14861494 * @valid: Either %NULL, or a location in which to store %TRUE on success or
14871495 * %FALSE on failure
15781586 }
15791587
15801588 /**
1581 * tp_asv_get_object_path: (skip)
1582 * @asv: A GHashTable where the keys are strings and the values are GValues
1589 * tp_asv_get_object_path:
1590 * @asv: (element-type utf8 GObject.Value): A GHashTable where the keys are
1591 * strings and the values are GValues
15831592 * @key: The key to look up
15841593 *
15851594 * If a value for @key in @asv is present and is an object path, return it.
15901599 * for @key in @asv is not removed or altered. Copy it with g_strdup() if you
15911600 * need to keep it for longer.
15921601 *
1593 * Returns: the object-path value of @key, or %NULL
1602 * Returns: (transfer none) (allow-none): the object-path value of @key, or
1603 * %NULL
15941604 * Since: 0.7.9
15951605 */
15961606 const gchar *
16891699 }
16901700
16911701 /**
1692 * tp_asv_get_boxed: (skip)
1693 * @asv: A GHashTable where the keys are strings and the values are GValues
1702 * tp_asv_get_boxed:
1703 * @asv: (element-type utf8 GObject.Value): A GHashTable where the keys are
1704 * strings and the values are GValues
16941705 * @key: The key to look up
16951706 * @type: The type that the key's value should have, which must be derived
16961707 * from %G_TYPE_BOXED
17041715 * for @key in @asv is not removed or altered. Copy it, for instance with
17051716 * g_boxed_copy(), if you need to keep it for longer.
17061717 *
1707 * Returns: the value of @key, or %NULL
1718 * Returns: (transfer none) (allow-none): the value of @key, or %NULL
17081719 * Since: 0.7.9
17091720 */
17101721 gpointer
18121823 }
18131824
18141825 /**
1815 * tp_asv_get_strv: (skip)
1816 * @asv: A GHashTable where the keys are strings and the values are GValues
1826 * tp_asv_get_strv:
1827 * @asv: (element-type utf8 GObject.Value): A GHashTable where the keys are
1828 * strings and the values are GValues
18171829 * @key: The key to look up
18181830 *
18191831 * If a value for @key in @asv is present and is an array of strings (strv),
18251837 * for @key in @asv is not removed or altered. Copy it with g_strdupv() if you
18261838 * need to keep it for longer.
18271839 *
1828 * Returns: the %NULL-terminated string-array value of @key, or %NULL
1840 * Returns: (transfer none) (allow-none): the %NULL-terminated string-array
1841 * value of @key, or %NULL
18291842 * Since: 0.7.9
18301843 */
18311844 const gchar * const *