Imported Upstream version 0.10.1
Simon McVittie
14 years ago
0 | commit 27a49b251dd81d7eacc3c88eb96ec9619547d383 | |
1 | Author: Simon McVittie <simon.mcvittie@collabora.co.uk> | |
2 | Date: 2010-03-24 18:35:29 +0000 | |
3 | ||
4 | Prepare version 0.10.1 | |
5 | ||
6 | Also remove some NEWS items that were already fixed during 0.9.x | |
7 | ||
8 | commit 1212b5585154495ce93868270d8f1ccf7ee164c3 | |
9 | Merge: bf95ef8 b4ad6e1 | |
10 | Author: Simon McVittie <simon.mcvittie@collabora.co.uk> | |
11 | Date: 2010-03-24 18:25:20 +0000 | |
12 | ||
13 | Merge branch 'telepathy-glib-0.8' into telepathy-glib-0.10 | |
14 | ||
15 | commit b4ad6e1785c2360481fdbfcf9007718972aeb8e9 | |
16 | Author: Simon McVittie <simon.mcvittie@collabora.co.uk> | |
17 | Date: 2010-03-24 18:23:42 +0000 | |
18 | ||
19 | Nano version | |
20 | ||
21 | commit ab7c3858daeafaf806102a58309882b311c53c45 | |
22 | Author: Simon McVittie <simon.mcvittie@collabora.co.uk> | |
23 | Date: 2010-03-24 17:55:33 +0000 | |
24 | ||
25 | Prepare version 0.8.2 | |
26 | ||
27 | commit bf95ef8455ef3d2c50af80842275e46379b3b829 | |
28 | Merge: e810fb3 3915d86 | |
29 | Author: Simon McVittie <simon.mcvittie@collabora.co.uk> | |
30 | Date: 2010-03-24 16:48:24 +0000 | |
31 | ||
32 | Merge branch 'telepathy-glib-0.8' into telepathy-glib-0.10 | |
33 | ||
34 | Conflicts: | |
35 | NEWS | |
36 | ||
37 | commit 3915d866af0b7f7f15cce52eb90dddc156761f09 | |
38 | Author: Simon McVittie <simon.mcvittie@collabora.co.uk> | |
39 | Date: 2010-03-24 16:43:01 +0000 | |
40 | ||
41 | Update NEWS for 0.8.x | |
42 | ||
43 | commit 1cd203762a4088b512c91f192167a556efdc8166 | |
44 | Author: Will Thompson <will.thompson@collabora.co.uk> | |
45 | Date: 2010-03-23 16:32:55 +0000 | |
46 | ||
47 | Remove misleading debug message from list_connection_names | |
48 | ||
49 | Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk> | |
50 | ||
51 | commit e810fb398aa740818fddfb8c1f4c2bc89a489641 | |
52 | Merge: 1cc0efd cd417c2 | |
53 | Author: Simon McVittie <simon.mcvittie@collabora.co.uk> | |
54 | Date: 2010-03-09 20:13:41 +0000 | |
55 | ||
56 | Merge branch '010-account-doc' into telepathy-glib-0.10 | |
57 | ||
58 | Reviewed-by: Will Thompson <will.thompson@collabora.co.uk> | |
59 | ||
60 | commit cd417c2aacc34bdf19151ee8db926a3cdcdb5344 | |
61 | Author: Simon McVittie <simon.mcvittie@collabora.co.uk> | |
62 | Date: 2010-03-09 14:57:23 +0000 | |
63 | ||
64 | tp_account_get_parameters: don't refer to nonexistent function tp_asv_dup_string | |
65 | ||
66 | commit 1cc0efdc11571b34d7f3834c1b3aa798a253dc5a | |
67 | Merge: e7c9b61 9cc5f93 | |
68 | Author: Simon McVittie <simon.mcvittie@collabora.co.uk> | |
69 | Date: 2010-03-09 14:41:36 +0000 | |
70 | ||
71 | Merge branch 'telepathy-glib-0.8' into telepathy-glib-0.10 | |
72 | ||
73 | commit 9cc5f93f913896c7053c78b09d1f745cfebd58cd | |
74 | Author: Simon McVittie <simon.mcvittie@collabora.co.uk> | |
75 | Date: 2010-03-04 17:32:17 +0000 | |
76 | ||
77 | TpBaseConnectionManager: chain up correctly in dispose | |
78 | ||
79 | Reviewed-by: Will Thompson <will.thompson@collabora.co.uk> | |
80 | ||
81 | commit 32ae19d807eb79a62d98afae4e63168371842583 | |
82 | Author: Simon McVittie <simon.mcvittie@collabora.co.uk> | |
83 | Date: 2010-03-03 20:07:08 +0000 | |
84 | ||
85 | tp_account_parse_object_path: clarify ownership | |
86 | ||
87 | commit 57cb73e6303a071e6b408e5755f692b9ebf27f3e | |
88 | Author: Simon McVittie <simon.mcvittie@collabora.co.uk> | |
89 | Date: 2010-03-03 20:06:38 +0000 | |
90 | ||
91 | tp_account_get_avatar_async: explain what's in the GArray | |
92 | ||
93 | commit 8af2ff1ace5074b71a1a89f052d0d4a62f99fbc9 | |
94 | Author: Simon McVittie <simon.mcvittie@collabora.co.uk> | |
95 | Date: 2010-03-03 20:05:53 +0000 | |
96 | ||
97 | tp_account_get_parameters: explain what's in the GHashTable | |
98 | ||
99 | It's not immediately obvious that the values are GValues. | |
100 | ||
101 | commit 244b4ac10c2fbae17b896a0b38e1e488044d35fb | |
102 | Author: Simon McVittie <simon.mcvittie@collabora.co.uk> | |
103 | Date: 2010-03-03 20:05:08 +0000 | |
104 | ||
105 | tp_account_ensure_connection: make comparison with "/" marginally faster | |
106 | ||
107 | Using strlen for this seems like poor style. | |
108 | ||
109 | commit 00233839173b4085de738d3d344f5d8419c2af03 | |
110 | Author: Simon McVittie <simon.mcvittie@collabora.co.uk> | |
111 | Date: 2010-03-03 20:04:22 +0000 | |
112 | ||
113 | TpAccount: specify the enum types corresponding to guint properties | |
114 | ||
115 | commit e7c9b61c4ac9ee40d8938b5534d775e0895f40d4 | |
116 | Author: Simon McVittie <simon.mcvittie@collabora.co.uk> | |
117 | Date: 2010-03-02 15:07:29 +0000 | |
118 | ||
119 | TpAccount:current-status-message: correct gtk-doc syntax | |
120 | ||
121 | Reviewed-by: Jonny Lamb <jonny.lamb@collabora.co.uk> | |
122 | ||
123 | commit 4f32ef01eff86a24a11bb4da887d87dcbd4b47d3 | |
124 | Author: Simon McVittie <simon.mcvittie@collabora.co.uk> | |
125 | Date: 2010-03-02 14:54:17 +0000 | |
126 | ||
127 | Spell GConnectFlags correctly | |
128 | ||
129 | Reviewed-by: Jonny Lamb <jonny.lamb@collabora.co.uk> (as part of a larger patch) | |
130 | ||
131 | commit a68fc8bcd877642baee3150cc9cbd22f091403ac | |
132 | Author: Simon McVittie <simon.mcvittie@collabora.co.uk> | |
133 | Date: 2010-03-01 19:45:13 +0000 | |
134 | ||
135 | tp_account_manager_is_prepared: don't document a nonexistent parameter | |
136 | ||
137 | Reviewed-by: Jonny Lamb <jonny.lamb@collabora.co.uk> | |
138 | ||
139 | commit 57708eaaddb90857db947b71370da7ca41cb40b2 | |
140 | Merge: c36bc11 1e93983 | |
141 | Author: Simon McVittie <simon.mcvittie@collabora.co.uk> | |
142 | Date: 2010-03-02 14:52:16 +0000 | |
143 | ||
144 | Merge branch 'telepathy-glib-0.8' into telepathy-glib-0.10 | |
145 | ||
146 | commit 1e939837150b7c111300d2a201ac930470817bd9 | |
147 | Author: Simon McVittie <simon.mcvittie@collabora.co.uk> | |
148 | Date: 2010-03-02 14:44:49 +0000 | |
149 | ||
150 | Fix various typos and cross-references | |
151 | ||
152 | Reviewed-by: Jonny Lamb <jonny.lamb@collabora.co.uk> | |
153 | ||
154 | commit e776e7cf0785e536c657d765f0978639efc00956 | |
155 | Author: Simon McVittie <simon.mcvittie@collabora.co.uk> | |
156 | Date: 2010-03-01 19:44:57 +0000 | |
157 | ||
158 | tools/glib-ginterface-gen.py: escape the doc-comment better | |
159 | ||
160 | Reviewed-by: Jonny Lamb <jonny.lamb@collabora.co.uk> | |
161 | ||
162 | commit c36bc11dd17d0227db5a2fd3dcdc269cc8d8c05c | |
163 | Author: Simon McVittie <simon.mcvittie@collabora.co.uk> | |
164 | Date: 2010-03-01 14:42:36 +0000 | |
165 | ||
166 | util.c: add Since annotations for tp_verify_*, tp_g_signal_connect_object, tp_value_array_build | |
167 | ||
168 | Reviewed-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> | |
169 | ||
170 | commit dbb9e7f85c24a77a3e3780d390aaffd5ffb1c6d4 | |
171 | Merge: 89195ce 64016db | |
172 | Author: Simon McVittie <simon.mcvittie@collabora.co.uk> | |
173 | Date: 2010-03-01 14:32:11 +0000 | |
174 | ||
175 | Merge branch 'telepathy-glib-0.8' into telepathy-glib-0.10 | |
176 | ||
177 | commit 64016db8dc417eb52b64794e9849d1bd547eb917 | |
178 | Author: Mikhail Zabaluev <mikhail.zabaluev@nokia.com> | |
179 | Date: 2010-02-24 17:31:05 +0200 | |
180 | ||
181 | Constified the string parameter to tp_contacts_mixin_set_contact_attribute() | |
182 | ||
183 | Famous last words: This should not break API or ABI compatibility. | |
184 | ||
185 | commit 89195ceb1bd2fa7f2a56340f5de273550413e3c1 | |
186 | Author: Simon McVittie <simon.mcvittie@collabora.co.uk> | |
187 | Date: 2010-01-21 14:00:42 +0000 | |
188 | ||
189 | Start 0.10.1 development | |
190 | ||
191 | * Simplify instructions in configure.ac: this branch shouldn't gain API | |
192 | * Upload 0.10.x docs to .../telepathy-glib-0.10.x/ in future | |
193 | * Ask people to report bugs with ...&version=0.10 | |
194 | ||
195 | commit 3375ab62d0300ed6ffad906c9a40de4aaa6f0d16 | |
196 | Author: Simon McVittie <simon.mcvittie@collabora.co.uk> | |
197 | Date: 2010-01-21 13:57:36 +0000 | |
198 | ||
199 | configure.ac: set a more specific bug-reporting URL | |
200 | ||
0 | 201 | commit 1d1a103cae40903a362e040d7aeb6f713cb3325e |
1 | 202 | Author: Simon McVittie <simon.mcvittie@collabora.co.uk> |
2 | 203 | Date: 2010-01-21 12:55:21 +0000 |
27 | 228 | Redirecting both stdout and stderr with &> doesn't work in dash. |
28 | 229 | |
29 | 230 | Reviewed-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> |
231 | ||
232 | commit cb9d71d2b9275d9bdba42200e0f827a4962f29cf | |
233 | Author: Vivek Dasmohapatra <vivek@collabora.co.uk> | |
234 | Date: 2010-01-12 19:41:13 +0000 | |
235 | ||
236 | Don't bother with an idle call to poke a taken message into the queue. | |
237 | ||
238 | This avoids what we think is a potential ref leak when a message is | |
239 | queued-for-queueing and then its channel is closed before it is actually | |
240 | added to the queue by the idle callback. | |
241 | ||
242 | incoming_target private member not used except for queue_pending, drop it | |
243 | and pass as an explicit arg. | |
30 | 244 | |
31 | 245 | commit d74822f88de41a65321109a9647747bf6a0b876f |
32 | 246 | Author: Simon McVittie <simon.mcvittie@collabora.co.uk> |
19 | 19 | maintainer-upload-release: _maintainer-upload-release-local |
20 | 20 | _maintainer-upload-release-local: _maintainer-upload-release-check |
21 | 21 | rsync -rvzPp --chmod=Dg+s,ug+rwX,o=rX docs/reference/html/ \ |
22 | telepathy.freedesktop.org:/srv/telepathy.freedesktop.org/www/doc/telepathy-glib/ | |
22 | telepathy.freedesktop.org:/srv/telepathy.freedesktop.org/www/doc/telepathy-glib-0.10.x/ | |
23 | 23 | |
24 | 24 | BRANCH = $(shell sh tools/git-which-branch.sh misc | tr -d '\n' | tr -C "[:alnum:]" _) |
25 | 25 | UPLOAD_BRANCH_TO = people.freedesktop.org:public_html/telepathy-glib |
779 | 779 | maintainer-upload-release: _maintainer-upload-release-local |
780 | 780 | _maintainer-upload-release-local: _maintainer-upload-release-check |
781 | 781 | rsync -rvzPp --chmod=Dg+s,ug+rwX,o=rX docs/reference/html/ \ |
782 | telepathy.freedesktop.org:/srv/telepathy.freedesktop.org/www/doc/telepathy-glib/ | |
782 | telepathy.freedesktop.org:/srv/telepathy.freedesktop.org/www/doc/telepathy-glib-0.10.x/ | |
783 | 783 | |
784 | 784 | upload-branch-docs: all |
785 | 785 | rsync -rtzvPp --chmod=a+rX docs/reference/html/ \ |
0 | telepathy-glib 0.10.1 (2010-03-24) | |
1 | ================================== | |
2 | ||
3 | The "usually quite loud" release. | |
4 | ||
5 | This version includes all the bugfixes from 0.8.2, plus some documentation | |
6 | improvements in code added since 0.8. | |
7 | ||
8 | Fixes: | |
9 | ||
10 | * Don't make an idle call to put received messages in the TpMessageMixin | |
11 | queue, potentially avoiding a reference leak (Vivek) | |
12 | ||
13 | * tp_contacts_mixin_set_contact_attribute now takes a const gchar * | |
14 | instead of a gchar * (mikhailz) | |
15 | ||
16 | * Escape the doc-comments better in generated service interfaces (smcv) | |
17 | ||
18 | * Fix some typos and broken cross-references in the documentation, and | |
19 | improve the TpAccount documentation (smcv) | |
20 | ||
21 | * Chain up to GObject's dispose method when destroying a | |
22 | TpBaseConnectionManager (smcv) | |
23 | ||
24 | * Remove a misleading debug message from tp_list_connection_names (wjt) | |
25 | ||
0 | 26 | telepathy-glib 0.10.0 (2010-01-21) |
1 | 27 | ================================== |
2 | 28 |
0 | 0 | #! /bin/sh |
1 | 1 | # Attempt to guess a canonical system name. |
2 | 2 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
3 | # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 | |
3 | # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 | |
4 | 4 | # Free Software Foundation, Inc. |
5 | 5 | |
6 | timestamp='2009-06-10' | |
6 | timestamp='2009-12-30' | |
7 | 7 | |
8 | 8 | # This file is free software; you can redistribute it and/or modify it |
9 | 9 | # under the terms of the GNU General Public License as published by |
26 | 26 | # the same distribution terms that you use for the rest of that program. |
27 | 27 | |
28 | 28 | |
29 | # Originally written by Per Bothner <per@bothner.com>. | |
30 | # Please send patches to <config-patches@gnu.org>. Submit a context | |
31 | # diff and a properly formatted ChangeLog entry. | |
29 | # Originally written by Per Bothner. Please send patches (context | |
30 | # diff format) to <config-patches@gnu.org> and include a ChangeLog | |
31 | # entry. | |
32 | 32 | # |
33 | 33 | # This script attempts to guess a canonical system name similar to |
34 | 34 | # config.sub. If it succeeds, it prints the system name on stdout, and |
35 | 35 | # exits with 0. Otherwise, it exits with 1. |
36 | 36 | # |
37 | # The plan is that this can be called by configure scripts if you | |
38 | # don't specify an explicit build system type. | |
37 | # You can get the latest version of this script from: | |
38 | # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD | |
39 | 39 | |
40 | 40 | me=`echo "$0" | sed -e 's,.*/,,'` |
41 | 41 | |
55 | 55 | GNU config.guess ($timestamp) |
56 | 56 | |
57 | 57 | Originally written by Per Bothner. |
58 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, | |
59 | 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | |
58 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, | |
59 | 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free | |
60 | Software Foundation, Inc. | |
60 | 61 | |
61 | 62 | This is free software; see the source for copying conditions. There is NO |
62 | 63 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
332 | 333 | sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) |
333 | 334 | echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` |
334 | 335 | exit ;; |
336 | i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) | |
337 | echo i386-pc-auroraux${UNAME_RELEASE} | |
338 | exit ;; | |
335 | 339 | i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) |
336 | 340 | eval $set_cc_for_build |
337 | 341 | SUN_ARCH="i386" |
806 | 810 | i*:PW*:*) |
807 | 811 | echo ${UNAME_MACHINE}-pc-pw32 |
808 | 812 | exit ;; |
809 | *:Interix*:[3456]*) | |
813 | *:Interix*:*) | |
810 | 814 | case ${UNAME_MACHINE} in |
811 | 815 | x86) |
812 | 816 | echo i586-pc-interix${UNAME_RELEASE} |
813 | 817 | exit ;; |
814 | EM64T | authenticamd | genuineintel) | |
818 | authenticamd | genuineintel | EM64T) | |
815 | 819 | echo x86_64-unknown-interix${UNAME_RELEASE} |
816 | 820 | exit ;; |
817 | 821 | IA64) |
853 | 857 | i*86:Minix:*:*) |
854 | 858 | echo ${UNAME_MACHINE}-pc-minix |
855 | 859 | exit ;; |
860 | alpha:Linux:*:*) | |
861 | case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in | |
862 | EV5) UNAME_MACHINE=alphaev5 ;; | |
863 | EV56) UNAME_MACHINE=alphaev56 ;; | |
864 | PCA56) UNAME_MACHINE=alphapca56 ;; | |
865 | PCA57) UNAME_MACHINE=alphapca56 ;; | |
866 | EV6) UNAME_MACHINE=alphaev6 ;; | |
867 | EV67) UNAME_MACHINE=alphaev67 ;; | |
868 | EV68*) UNAME_MACHINE=alphaev68 ;; | |
869 | esac | |
870 | objdump --private-headers /bin/sh | grep -q ld.so.1 | |
871 | if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi | |
872 | echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} | |
873 | exit ;; | |
856 | 874 | arm*:Linux:*:*) |
857 | 875 | eval $set_cc_for_build |
858 | 876 | if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ |
874 | 892 | exit ;; |
875 | 893 | frv:Linux:*:*) |
876 | 894 | echo frv-unknown-linux-gnu |
895 | exit ;; | |
896 | i*86:Linux:*:*) | |
897 | LIBC=gnu | |
898 | eval $set_cc_for_build | |
899 | sed 's/^ //' << EOF >$dummy.c | |
900 | #ifdef __dietlibc__ | |
901 | LIBC=dietlibc | |
902 | #endif | |
903 | EOF | |
904 | eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC'` | |
905 | echo "${UNAME_MACHINE}-pc-linux-${LIBC}" | |
877 | 906 | exit ;; |
878 | 907 | ia64:Linux:*:*) |
879 | 908 | echo ${UNAME_MACHINE}-unknown-linux-gnu |
900 | 929 | #endif |
901 | 930 | #endif |
902 | 931 | EOF |
903 | eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' | |
904 | /^CPU/{ | |
905 | s: ::g | |
906 | p | |
907 | }'`" | |
932 | eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` | |
908 | 933 | test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } |
909 | 934 | ;; |
910 | 935 | or32:Linux:*:*) |
911 | 936 | echo or32-unknown-linux-gnu |
912 | 937 | exit ;; |
913 | ppc:Linux:*:*) | |
914 | echo powerpc-unknown-linux-gnu | |
915 | exit ;; | |
916 | ppc64:Linux:*:*) | |
917 | echo powerpc64-unknown-linux-gnu | |
918 | exit ;; | |
919 | alpha:Linux:*:*) | |
920 | case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in | |
921 | EV5) UNAME_MACHINE=alphaev5 ;; | |
922 | EV56) UNAME_MACHINE=alphaev56 ;; | |
923 | PCA56) UNAME_MACHINE=alphapca56 ;; | |
924 | PCA57) UNAME_MACHINE=alphapca56 ;; | |
925 | EV6) UNAME_MACHINE=alphaev6 ;; | |
926 | EV67) UNAME_MACHINE=alphaev67 ;; | |
927 | EV68*) UNAME_MACHINE=alphaev68 ;; | |
928 | esac | |
929 | objdump --private-headers /bin/sh | grep -q ld.so.1 | |
930 | if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi | |
931 | echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} | |
932 | exit ;; | |
933 | 938 | padre:Linux:*:*) |
934 | 939 | echo sparc-unknown-linux-gnu |
940 | exit ;; | |
941 | parisc64:Linux:*:* | hppa64:Linux:*:*) | |
942 | echo hppa64-unknown-linux-gnu | |
935 | 943 | exit ;; |
936 | 944 | parisc:Linux:*:* | hppa:Linux:*:*) |
937 | 945 | # Look for CPU level |
941 | 949 | *) echo hppa-unknown-linux-gnu ;; |
942 | 950 | esac |
943 | 951 | exit ;; |
944 | parisc64:Linux:*:* | hppa64:Linux:*:*) | |
945 | echo hppa64-unknown-linux-gnu | |
952 | ppc64:Linux:*:*) | |
953 | echo powerpc64-unknown-linux-gnu | |
954 | exit ;; | |
955 | ppc:Linux:*:*) | |
956 | echo powerpc-unknown-linux-gnu | |
946 | 957 | exit ;; |
947 | 958 | s390:Linux:*:* | s390x:Linux:*:*) |
948 | 959 | echo ${UNAME_MACHINE}-ibm-linux |
965 | 976 | xtensa*:Linux:*:*) |
966 | 977 | echo ${UNAME_MACHINE}-unknown-linux-gnu |
967 | 978 | exit ;; |
968 | i*86:Linux:*:*) | |
969 | # The BFD linker knows what the default object file format is, so | |
970 | # first see if it will tell us. cd to the root directory to prevent | |
971 | # problems with other programs or directories called `ld' in the path. | |
972 | # Set LC_ALL=C to ensure ld outputs messages in English. | |
973 | ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \ | |
974 | | sed -ne '/supported targets:/!d | |
975 | s/[ ][ ]*/ /g | |
976 | s/.*supported targets: *// | |
977 | s/ .*// | |
978 | p'` | |
979 | case "$ld_supported_targets" in | |
980 | elf32-i386) | |
981 | TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu" | |
982 | ;; | |
983 | esac | |
984 | # Determine whether the default compiler is a.out or elf | |
985 | eval $set_cc_for_build | |
986 | sed 's/^ //' << EOF >$dummy.c | |
987 | #include <features.h> | |
988 | #ifdef __ELF__ | |
989 | # ifdef __GLIBC__ | |
990 | # if __GLIBC__ >= 2 | |
991 | LIBC=gnu | |
992 | # else | |
993 | LIBC=gnulibc1 | |
994 | # endif | |
995 | # else | |
996 | LIBC=gnulibc1 | |
997 | # endif | |
998 | #else | |
999 | #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC) | |
1000 | LIBC=gnu | |
1001 | #else | |
1002 | LIBC=gnuaout | |
1003 | #endif | |
1004 | #endif | |
1005 | #ifdef __dietlibc__ | |
1006 | LIBC=dietlibc | |
1007 | #endif | |
1008 | EOF | |
1009 | eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' | |
1010 | /^LIBC/{ | |
1011 | s: ::g | |
1012 | p | |
1013 | }'`" | |
1014 | test x"${LIBC}" != x && { | |
1015 | echo "${UNAME_MACHINE}-pc-linux-${LIBC}" | |
1016 | exit | |
1017 | } | |
1018 | test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; } | |
1019 | ;; | |
1020 | 979 | i*86:DYNIX/ptx:4*:*) |
1021 | 980 | # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. |
1022 | 981 | # earlier versions are messed up and put the nodename in both |
1246 | 1205 | *:Darwin:*:*) |
1247 | 1206 | UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown |
1248 | 1207 | case $UNAME_PROCESSOR in |
1208 | i386) | |
1209 | eval $set_cc_for_build | |
1210 | if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then | |
1211 | if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ | |
1212 | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ | |
1213 | grep IS_64BIT_ARCH >/dev/null | |
1214 | then | |
1215 | UNAME_PROCESSOR="x86_64" | |
1216 | fi | |
1217 | fi ;; | |
1249 | 1218 | unknown) UNAME_PROCESSOR=powerpc ;; |
1250 | 1219 | esac |
1251 | 1220 | echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} |
0 | 0 | #! /bin/sh |
1 | 1 | # Configuration validation subroutine script. |
2 | 2 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
3 | # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 | |
3 | # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 | |
4 | 4 | # Free Software Foundation, Inc. |
5 | 5 | |
6 | timestamp='2009-06-11' | |
6 | timestamp='2010-01-22' | |
7 | 7 | |
8 | 8 | # This file is (in principle) common to ALL GNU software. |
9 | 9 | # The presence of a machine in this file suggests that SOME GNU software |
31 | 31 | |
32 | 32 | |
33 | 33 | # Please send patches to <config-patches@gnu.org>. Submit a context |
34 | # diff and a properly formatted ChangeLog entry. | |
34 | # diff and a properly formatted GNU ChangeLog entry. | |
35 | 35 | # |
36 | 36 | # Configuration subroutine to validate and canonicalize a configuration type. |
37 | 37 | # Supply the specified configuration type as an argument. |
38 | 38 | # If it is invalid, we print an error message on stderr and exit with code 1. |
39 | 39 | # Otherwise, we print the canonical config type on stdout and succeed. |
40 | ||
41 | # You can get the latest version of this script from: | |
42 | # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD | |
40 | 43 | |
41 | 44 | # This file is supposed to be the same for all GNU packages |
42 | 45 | # and recognize all the CPU types, system types and aliases |
71 | 74 | version="\ |
72 | 75 | GNU config.sub ($timestamp) |
73 | 76 | |
74 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, | |
75 | 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | |
77 | Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, | |
78 | 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free | |
79 | Software Foundation, Inc. | |
76 | 80 | |
77 | 81 | This is free software; see the source for copying conditions. There is NO |
78 | 82 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." |
148 | 152 | -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ |
149 | 153 | -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ |
150 | 154 | -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ |
151 | -apple | -axis | -knuth | -cray) | |
155 | -apple | -axis | -knuth | -cray | -microblaze) | |
152 | 156 | os= |
153 | 157 | basic_machine=$1 |
154 | 158 | ;; |
283 | 287 | | pdp10 | pdp11 | pj | pjl \ |
284 | 288 | | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ |
285 | 289 | | pyramid \ |
290 | | rx \ | |
286 | 291 | | score \ |
287 | 292 | | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ |
288 | 293 | | sh64 | sh64le \ |
290 | 295 | | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ |
291 | 296 | | spu | strongarm \ |
292 | 297 | | tahoe | thumb | tic4x | tic80 | tron \ |
298 | | ubicom32 \ | |
293 | 299 | | v850 | v850e \ |
294 | 300 | | we32k \ |
295 | 301 | | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ |
296 | 302 | | z8k | z80) |
297 | 303 | basic_machine=$basic_machine-unknown |
298 | 304 | ;; |
299 | m6811 | m68hc11 | m6812 | m68hc12) | |
305 | m6811 | m68hc11 | m6812 | m68hc12 | picochip) | |
300 | 306 | # Motorola 68HC11/12. |
301 | 307 | basic_machine=$basic_machine-unknown |
302 | 308 | os=-none |
339 | 345 | | lm32-* \ |
340 | 346 | | m32c-* | m32r-* | m32rle-* \ |
341 | 347 | | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ |
342 | | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ | |
348 | | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \ | |
343 | 349 | | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ |
344 | 350 | | mips16-* \ |
345 | 351 | | mips64-* | mips64el-* \ |
367 | 373 | | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ |
368 | 374 | | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ |
369 | 375 | | pyramid-* \ |
370 | | romp-* | rs6000-* \ | |
376 | | romp-* | rs6000-* | rx-* \ | |
371 | 377 | | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ |
372 | 378 | | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ |
373 | 379 | | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ |
374 | 380 | | sparclite-* \ |
375 | 381 | | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \ |
376 | 382 | | tahoe-* | thumb-* \ |
377 | | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* | tile-* \ | |
383 | | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | |
384 | | tile-* | tilegx-* \ | |
378 | 385 | | tron-* \ |
386 | | ubicom32-* \ | |
379 | 387 | | v850-* | v850e-* | vax-* \ |
380 | 388 | | we32k-* \ |
381 | 389 | | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ |
724 | 732 | merlin) |
725 | 733 | basic_machine=ns32k-utek |
726 | 734 | os=-sysv |
735 | ;; | |
736 | microblaze) | |
737 | basic_machine=microblaze-xilinx | |
727 | 738 | ;; |
728 | 739 | mingw32) |
729 | 740 | basic_machine=i386-pc |
1075 | 1086 | basic_machine=tic6x-unknown |
1076 | 1087 | os=-coff |
1077 | 1088 | ;; |
1089 | # This must be matched before tile*. | |
1090 | tilegx*) | |
1091 | basic_machine=tilegx-unknown | |
1092 | os=-linux-gnu | |
1093 | ;; | |
1078 | 1094 | tile*) |
1079 | 1095 | basic_machine=tile-unknown |
1080 | 1096 | os=-linux-gnu |
1246 | 1262 | # First match some system type aliases |
1247 | 1263 | # that might get confused with valid system types. |
1248 | 1264 | # -solaris* is a basic system type, with this one exception. |
1265 | -auroraux) | |
1266 | os=-auroraux | |
1267 | ;; | |
1249 | 1268 | -solaris1 | -solaris1.*) |
1250 | 1269 | os=`echo $os | sed -e 's|solaris1|sunos4|'` |
1251 | 1270 | ;; |
1267 | 1286 | # -sysv* is not here because it comes later, after sysvr4. |
1268 | 1287 | -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ |
1269 | 1288 | | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ |
1270 | | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ | |
1271 | | -kopensolaris* \ | |
1289 | | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ | |
1290 | | -sym* | -kopensolaris* \ | |
1272 | 1291 | | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ |
1273 | 1292 | | -aos* | -aros* \ |
1274 | 1293 | | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ |
1289 | 1308 | | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ |
1290 | 1309 | | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ |
1291 | 1310 | | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ |
1292 | | -skyos* | -haiku* | -rdos* | -toppers* | -drops*) | |
1311 | | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*) | |
1293 | 1312 | # Remember, each alternative MUST END IN *, to match a version number. |
1294 | 1313 | ;; |
1295 | 1314 | -qnx*) |
1422 | 1441 | -dicos*) |
1423 | 1442 | os=-dicos |
1424 | 1443 | ;; |
1444 | -nacl*) | |
1445 | ;; | |
1425 | 1446 | -none) |
1426 | 1447 | ;; |
1427 | 1448 | *) |
0 | 0 | #! /bin/sh |
1 | 1 | # Guess values for system-dependent variables and create Makefiles. |
2 | # Generated by GNU Autoconf 2.65 for Telepathy-GLib 0.10.0. | |
2 | # Generated by GNU Autoconf 2.65 for Telepathy-GLib 0.10.1. | |
3 | 3 | # |
4 | # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=Telepathy>. | |
4 | # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=Telepathy&component=tp-glib&version=0.10>. | |
5 | 5 | # |
6 | 6 | # |
7 | 7 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
230 | 230 | $as_echo "$0: be upgraded to zsh 4.3.4 or later." |
231 | 231 | else |
232 | 232 | $as_echo "$0: Please tell bug-autoconf@gnu.org and |
233 | $0: https://bugs.freedesktop.org/enter_bug.cgi?product=Telepathy | |
233 | $0: https://bugs.freedesktop.org/enter_bug.cgi?product=Telepathy&component=tp-glib&version=0.10 | |
234 | 234 | $0: about your system, including any error possibly output |
235 | 235 | $0: before this message. Then install a modern shell, or |
236 | 236 | $0: manually run the script under such a shell if you do |
701 | 701 | # Identity of this package. |
702 | 702 | PACKAGE_NAME='Telepathy-GLib' |
703 | 703 | PACKAGE_TARNAME='telepathy-glib' |
704 | PACKAGE_VERSION='0.10.0' | |
705 | PACKAGE_STRING='Telepathy-GLib 0.10.0' | |
706 | PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=Telepathy' | |
704 | PACKAGE_VERSION='0.10.1' | |
705 | PACKAGE_STRING='Telepathy-GLib 0.10.1' | |
706 | PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=Telepathy&component=tp-glib&version=0.10' | |
707 | 707 | PACKAGE_URL='' |
708 | 708 | |
709 | 709 | # Factoring default headers for most tests. |
1482 | 1482 | # Omit some internal or obsolete options to make the list less imposing. |
1483 | 1483 | # This message is too long to be a string in the A/UX 3.1 sh. |
1484 | 1484 | cat <<_ACEOF |
1485 | \`configure' configures Telepathy-GLib 0.10.0 to adapt to many kinds of systems. | |
1485 | \`configure' configures Telepathy-GLib 0.10.1 to adapt to many kinds of systems. | |
1486 | 1486 | |
1487 | 1487 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1488 | 1488 | |
1552 | 1552 | |
1553 | 1553 | if test -n "$ac_init_help"; then |
1554 | 1554 | case $ac_init_help in |
1555 | short | recursive ) echo "Configuration of Telepathy-GLib 0.10.0:";; | |
1555 | short | recursive ) echo "Configuration of Telepathy-GLib 0.10.1:";; | |
1556 | 1556 | esac |
1557 | 1557 | cat <<\_ACEOF |
1558 | 1558 | |
1619 | 1619 | Use these variables to override the choices made by `configure' or to help |
1620 | 1620 | it to find libraries and programs with nonstandard names/locations. |
1621 | 1621 | |
1622 | Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=Telepathy>. | |
1622 | Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=Telepathy&component=tp-glib&version=0.10>. | |
1623 | 1623 | _ACEOF |
1624 | 1624 | ac_status=$? |
1625 | 1625 | fi |
1682 | 1682 | test -n "$ac_init_help" && exit $ac_status |
1683 | 1683 | if $ac_init_version; then |
1684 | 1684 | cat <<\_ACEOF |
1685 | Telepathy-GLib configure 0.10.0 | |
1685 | Telepathy-GLib configure 0.10.1 | |
1686 | 1686 | generated by GNU Autoconf 2.65 |
1687 | 1687 | |
1688 | 1688 | Copyright (C) 2009 Free Software Foundation, Inc. |
2028 | 2028 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
2029 | 2029 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
2030 | 2030 | ( cat <<\_ASBOX |
2031 | ## --------------------------------------------------------------------------- ## | |
2032 | ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=Telepathy ## | |
2033 | ## --------------------------------------------------------------------------- ## | |
2031 | ## ---------------------------------------------------------------------------------------------------------- ## | |
2032 | ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=Telepathy&component=tp-glib&version=0.10 ## | |
2033 | ## ---------------------------------------------------------------------------------------------------------- ## | |
2034 | 2034 | _ASBOX |
2035 | 2035 | ) | sed "s/^/$as_me: WARNING: /" >&2 |
2036 | 2036 | ;; |
2053 | 2053 | This file contains any messages produced by compilers while |
2054 | 2054 | running configure, to aid debugging if configure makes a mistake. |
2055 | 2055 | |
2056 | It was created by Telepathy-GLib $as_me 0.10.0, which was | |
2056 | It was created by Telepathy-GLib $as_me 0.10.1, which was | |
2057 | 2057 | generated by GNU Autoconf 2.65. Invocation command line was |
2058 | 2058 | |
2059 | 2059 | $ $0 $@ |
2864 | 2864 | |
2865 | 2865 | # Define the identity of the package. |
2866 | 2866 | PACKAGE='telepathy-glib' |
2867 | VERSION='0.10.0' | |
2867 | VERSION='0.10.1' | |
2868 | 2868 | |
2869 | 2869 | |
2870 | 2870 | cat >>confdefs.h <<_ACEOF |
11176 | 11176 | |
11177 | 11177 | |
11178 | 11178 | LT_CURRENT=32 |
11179 | LT_REVISION=1 | |
11179 | LT_REVISION=2 | |
11180 | 11180 | LT_AGE=32 |
11181 | 11181 | |
11182 | 11182 | |
12758 | 12758 | # report actual input values of CONFIG_FILES etc. instead of their |
12759 | 12759 | # values after options handling. |
12760 | 12760 | ac_log=" |
12761 | This file was extended by Telepathy-GLib $as_me 0.10.0, which was | |
12761 | This file was extended by Telepathy-GLib $as_me 0.10.1, which was | |
12762 | 12762 | generated by GNU Autoconf 2.65. Invocation command line was |
12763 | 12763 | |
12764 | 12764 | CONFIG_FILES = $CONFIG_FILES |
12818 | 12818 | Configuration commands: |
12819 | 12819 | $config_commands |
12820 | 12820 | |
12821 | Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=Telepathy>." | |
12821 | Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=Telepathy&component=tp-glib&version=0.10>." | |
12822 | 12822 | |
12823 | 12823 | _ACEOF |
12824 | 12824 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
12825 | 12825 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
12826 | 12826 | ac_cs_version="\\ |
12827 | Telepathy-GLib config.status 0.10.0 | |
12827 | Telepathy-GLib config.status 0.10.1 | |
12828 | 12828 | configured by $0, generated by GNU Autoconf 2.65, |
12829 | 12829 | with options \\"\$ac_cs_config\\" |
12830 | 12830 |
10 | 10 | |
11 | 11 | m4_define([tp_glib_major_version], [0]) |
12 | 12 | m4_define([tp_glib_minor_version], [10]) |
13 | m4_define([tp_glib_micro_version], [0]) | |
13 | m4_define([tp_glib_micro_version], [1]) | |
14 | 14 | m4_define([tp_glib_nano_version], [0]) |
15 | 15 | |
16 | # If library source has changed since last release, increment revision | |
17 | # If interfaces have been added, removed or changed since last release, | |
18 | # increment current and set revision to 0 | |
19 | # If interfaces have been added since last release, increment age | |
20 | # If interfaces have been removed since last release, set age to 0 | |
21 | # | |
22 | # If interfaces have been added, release builds will fail unless you add a new | |
23 | # file like telepathy-glib/versions/0.7.3.abi to add them to the official ABI. | |
24 | # This also forces binaries built against devel versions to be rebuilt | |
25 | # (we don't guarantee that we won't add ABI then remove it again, if it was | |
26 | # never seen in a release). | |
27 | ||
16 | # If library source has changed since last release, increment revision. | |
17 | # Do not add new API or ABI, or make incompatible changes, on this branch | |
18 | # (which means that current and age should remain 32). | |
28 | 19 | m4_define([tp_glib_lt_current], [32]) |
29 | m4_define([tp_glib_lt_revision], [1]) | |
20 | m4_define([tp_glib_lt_revision], [2]) | |
30 | 21 | m4_define([tp_glib_lt_age], [32]) |
31 | 22 | |
32 | 23 | # Some magic |
37 | 28 | [tp_glib_base_version].[tp_glib_nano_version])]) |
38 | 29 | |
39 | 30 | AC_INIT([Telepathy-GLib], [tp_glib_version], |
40 | [https://bugs.freedesktop.org/enter_bug.cgi?product=Telepathy]) | |
31 | [https://bugs.freedesktop.org/enter_bug.cgi?product=Telepathy&component=tp-glib&version=0.10]) | |
41 | 32 | |
42 | 33 | AC_CONFIG_MACRO_DIR([m4]) |
43 | 34 |
268 | 268 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="returnvalue">gpointer</span></a> request_token, |
269 | 269 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="returnvalue">GHashTable</span></a> *request_properties);</pre> |
270 | 270 | <p> |
271 | Signature of an implementation of <span class="type">"create_channel"</span> and | |
272 | <span class="type">"request_channel"</span>. | |
271 | Signature of an implementation of <a class="link" href="TpChannelManager.html#TpChannelManagerIface.create-channel"><span class="type">TpChannelManagerIface.create_channel</span></a> and | |
272 | <a class="link" href="TpChannelManager.html#TpChannelManagerIface.request-channel"><span class="type">TpChannelManagerIface.request_channel</span></a>. | |
273 | 273 | </p> |
274 | 274 | <p> |
275 | 275 | Implementations should inspect the contents of <em class="parameter"><code>request_properties</code></em> to see if |
276 | 276 | it matches a channel class handled by this manager. If so, they should |
277 | 277 | return <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to accept responsibility for the request, and ultimately emit |
278 | exactly one of the <span class="type">"new-channels"</span>, | |
278 | 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>, | |
279 | 279 | <span class="type">"already-satisfied"</span> and |
280 | <span class="type">"request-failed"</span> signals (including <em class="parameter"><code>request_token</code></em> in | |
280 | <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 | |
281 | 281 | the appropriate argument). |
282 | 282 | </p> |
283 | 283 | <p> |
424 | 424 | <p> |
425 | 425 | Checks whether the keys of <em class="parameter"><code>properties</code></em> are elements of one of <em class="parameter"><code>fixed</code></em> and |
426 | 426 | <em class="parameter"><code>allowed</code></em>. This is intended to be used by implementations of |
427 | <span class="type">"create_channel"</span> which have decided to accept a request, | |
427 | <a class="link" href="TpChannelManager.html#TpChannelManagerIface.create-channel"><span class="type">TpChannelManagerIface.create_channel</span></a> which have decided to accept a request, | |
428 | 428 | to conform with the specification's requirement that unknown requested |
429 | 429 | properties must cause a request to fail, not be silently ignored. |
430 | 430 | </p> |
91 | 91 | </p> |
92 | 92 | <p> |
93 | 93 | Most connection managers will use this for handles of type |
94 | <code class="literal">TP_HANDLE_TYPE_CONTACT_LIST</code>.</p> | |
94 | <a class="link" href="telepathy-glib-enums.html#TP-HANDLE-TYPE-LIST:CAPS"><code class="literal">TP_HANDLE_TYPE_LIST</code></a>.</p> | |
95 | 95 | </div> |
96 | 96 | <div class="refsect1" title="Details"> |
97 | 97 | <a name="TpStaticHandleRepo.details"></a><h2>Details</h2> |
63 | 63 | <span class="returnvalue">void</span> <a class="link" href="telepathy-glib-TpContactsMixin.html#tp-contacts-mixin-set-contact-attribute" title="tp_contacts_mixin_set_contact_attribute ()">tp_contacts_mixin_set_contact_attribute</a> |
64 | 64 | (<a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="returnvalue">GHashTable</span></a> *contact_attributes, |
65 | 65 | <a class="link" href="telepathy-glib-handle.html#TpHandle" title="TpHandle"><span class="returnvalue">TpHandle</span></a> handle, |
66 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *attribute, | |
66 | const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *attribute, | |
67 | 67 | <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"><span class="returnvalue">GValue</span></a> *value); |
68 | 68 | <span class="returnvalue">void</span> (<a class="link" href="telepathy-glib-TpContactsMixin.html#TpContactsMixinFillContactAttributesFunc" title="TpContactsMixinFillContactAttributesFunc ()">*TpContactsMixinFillContactAttributesFunc</a>) |
69 | 69 | (<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="returnvalue">GObject</span></a> *obj, |
288 | 288 | <pre class="programlisting"><span class="returnvalue">void</span> tp_contacts_mixin_set_contact_attribute |
289 | 289 | (<a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="returnvalue">GHashTable</span></a> *contact_attributes, |
290 | 290 | <a class="link" href="telepathy-glib-handle.html#TpHandle" title="TpHandle"><span class="returnvalue">TpHandle</span></a> handle, |
291 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *attribute, | |
291 | const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *attribute, | |
292 | 292 | <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"><span class="returnvalue">GValue</span></a> *value);</pre> |
293 | 293 | <p> |
294 | 294 | Utility function to set attribute for handle to value in the attributes hash |
1284 | 1284 | <td><p><span class="term"><em class="parameter"><code>flags</code></em>Â :</span></p></td> |
1285 | 1285 | <td> The flags used when sending the message, which may be a subset of |
1286 | 1286 | those passed to the <a class="link" href="telepathy-glib-TpMessageMixin.html#TpMessageMixinSendImpl" title="TpMessageMixinSendImpl ()"><span class="type">TpMessageMixinSendImpl</span></a> implementation if not all are |
1287 | supported, or <code class="literal">0</code> on error. | |
1287 | supported, or 0 on error. | |
1288 | 1288 | </td> |
1289 | 1289 | </tr> |
1290 | 1290 | <tr> |
1430 | 1430 | <div class="refsect1" title="See Also"> |
1431 | 1431 | <a name="telepathy-glib-TpMessageMixin.see-also"></a><h2>See Also</h2> |
1432 | 1432 | <a class="link" href="telepathy-glib-svc-channel-text.html#TpSvcChannelTypeText"><span class="type">TpSvcChannelTypeText</span></a>, <a class="link" href="telepathy-glib-svc-channel-text.html#TpSvcChannelInterfaceMessages" title="TpSvcChannelInterfaceMessages"><span class="type">TpSvcChannelInterfaceMessages</span></a>, |
1433 | <span class="type">TpDBusPropertiesMixin</span> | |
1433 | TpDBusPropertiesMixin | |
1434 | 1434 | </div> |
1435 | 1435 | </div> |
1436 | 1436 | <div class="footer"> |
106 | 106 | </p> |
107 | 107 | <p> |
108 | 108 | To use the text mixin as the implementation of |
109 | <span class="type">TpSvcTextInterface</span>, in the function you pass to G_IMPLEMENT_INTERFACE, | |
109 | <a class="link" href="telepathy-glib-svc-channel-text.html#TpSvcChannelTypeText"><span class="type">TpSvcChannelTypeText</span></a>, in the function you pass to G_IMPLEMENT_INTERFACE, | |
110 | 110 | you should first call <a class="link" href="telepathy-glib-TpTextMixin.html#tp-text-mixin-iface-init" title="tp_text_mixin_iface_init ()"><code class="function">tp_text_mixin_iface_init()</code></a>, then call |
111 | 111 | <a class="link" href="telepathy-glib-svc-channel-text.html#tp-svc-channel-type-text-implement-send" title="tp_svc_channel_type_text_implement_send ()"><code class="function">tp_svc_channel_type_text_implement_send()</code></a> to register your implementation |
112 | 112 | of the Send method.</p> |
610 | 610 | </tr> |
611 | 611 | <tr> |
612 | 612 | <td><p><span class="term"><span class="emphasis"><em>Returns</em></span>Â :</span></p></td> |
613 | <td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> whether <em class="parameter"><code>feature</code></em> is ready on <em class="parameter"><code>manager</code></em>, otherwise <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> | |
613 | <td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>feature</code></em> is ready on <em class="parameter"><code>manager</code></em>, otherwise <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> | |
614 | 614 | |
615 | 615 | </td> |
616 | 616 | </tr> |
386 | 386 | protocol name, as defined in the Account specification. |
387 | 387 | </p> |
388 | 388 | <p> |
389 | Any of the out parameters may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if not needed.</p> | |
389 | Any of the out parameters may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if not needed. If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> is returned, | |
390 | the caller is responsible for freeing the strings stored in any non-<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> | |
391 | out parameters, using <a href="http://library.gnome.org/devel/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</p> | |
390 | 392 | <div class="variablelist"><table border="0"> |
391 | 393 | <col align="left" valign="top"> |
392 | 394 | <tbody> |
1405 | 1407 | <a name="tp-account-get-parameters"></a><h3>tp_account_get_parameters ()</h3> |
1406 | 1408 | <pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="returnvalue">GHashTable</span></a> * tp_account_get_parameters (<a class="link" href="telepathy-glib-account.html#TpAccount"><span class="returnvalue">TpAccount</span></a> *account);</pre> |
1407 | 1409 | <p> |
1408 | </p> | |
1410 | Returns the parameters of the account, in a hash table where each string | |
1411 | is the parameter name (account, password, require-encryption etc.), and | |
1412 | each value is a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Generic-values.html#GValue"><span class="type">GValue</span></a>. Using the tp_asv_get family of functions | |
1413 | (<a class="link" href="telepathy-glib-asv.html#tp-asv-get-uint32" title="tp_asv_get_uint32 ()"><code class="function">tp_asv_get_uint32()</code></a>, <a class="link" href="telepathy-glib-asv.html#tp-asv-get-string" title="tp_asv_get_string ()"><code class="function">tp_asv_get_string()</code></a> etc.) to access the parameters is | |
1414 | recommended. | |
1415 | </p> | |
1416 | <p> | |
1417 | The allowed parameters depend on the connection manager, and can be found | |
1418 | via <a class="link" href="telepathy-glib-connection-manager.html#tp-connection-manager-get-protocol" title="tp_connection_manager_get_protocol ()"><code class="function">tp_connection_manager_get_protocol()</code></a> and | |
1419 | <a class="link" href="telepathy-glib-connection-manager.html#tp-connection-manager-protocol-get-param" title="tp_connection_manager_protocol_get_param ()"><code class="function">tp_connection_manager_protocol_get_param()</code></a>. Well-known parameters are | |
1420 | listed | |
1421 | <a class="ulink" href="http://telepathy.freedesktop.org/spec/org.freedesktop.Telepathy.ConnectionManager.html#org.freedesktop.Telepathy.ConnectionManager.RequestConnection" target="_top">in | |
1422 | the Telepathy D-Bus Interface Specification</a>.</p> | |
1409 | 1423 | <div class="variablelist"><table border="0"> |
1410 | 1424 | <col align="left" valign="top"> |
1411 | 1425 | <tbody> |
1582 | 1596 | </tr> |
1583 | 1597 | <tr> |
1584 | 1598 | <td><p><span class="term"><span class="emphasis"><em>Returns</em></span>Â :</span></p></td> |
1585 | <td> a <a href="http://library.gnome.org/devel/glib/unstable/glib-Arrays.html#GArray"><span class="type">GArray</span></a> of the account's avatar, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on failure | |
1599 | <td> a <a href="http://library.gnome.org/devel/glib/unstable/glib-Arrays.html#GArray"><span class="type">GArray</span></a> of <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> containing the bytes of the account's avatar, | |
1600 | or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on failure | |
1586 | 1601 | |
1587 | 1602 | </td> |
1588 | 1603 | </tr> |
2402 | 2417 | <a name="TpAccount--connection-status"></a><h3>The <code class="literal">"connection-status"</code> property</h3> |
2403 | 2418 | <pre class="programlisting"> "connection-status" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read</pre> |
2404 | 2419 | <p> |
2405 | The account's connection status type. | |
2420 | The account's connection status type (a <a class="link" href="telepathy-glib-enums.html#TpConnectionStatus" title="enum TpConnectionStatus"><code class="literal">TpConnectionStatus</code></a>). | |
2406 | 2421 | </p> |
2407 | 2422 | <p> |
2408 | 2423 | One can receive change notifications on this property by connecting |
2422 | 2437 | <a name="TpAccount--connection-status-reason"></a><h3>The <code class="literal">"connection-status-reason"</code> property</h3> |
2423 | 2438 | <pre class="programlisting"> "connection-status-reason" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read</pre> |
2424 | 2439 | <p> |
2425 | The account's connection status reason. | |
2440 | The account's connection status reason (a <a class="link" href="telepathy-glib-enums.html#TpConnectionStatusReason" title="enum TpConnectionStatusReason"><code class="literal">TpConnectionStatusReason</code></a>). | |
2426 | 2441 | </p> |
2427 | 2442 | <p> |
2428 | 2443 | One can receive change notifications on this property by connecting |
2442 | 2457 | <a name="TpAccount--current-presence-type"></a><h3>The <code class="literal">"current-presence-type"</code> property</h3> |
2443 | 2458 | <pre class="programlisting"> "current-presence-type" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read</pre> |
2444 | 2459 | <p> |
2445 | The account connection's current presence type. | |
2460 | The account connection's current presence type | |
2461 | (a <a class="link" href="telepathy-glib-enums.html#TpConnectionPresenceType" title="enum TpConnectionPresenceType"><code class="literal">TpConnectionPresenceType</code></a>). | |
2446 | 2462 | </p> |
2447 | 2463 | <p> |
2448 | 2464 | One can receive change notifications on this property by connecting |
2480 | 2496 | <div class="refsect2" title='The "current-status-message" property'> |
2481 | 2497 | <a name="TpAccount--current-status-message"></a><h3>The <code class="literal">"current-status-message"</code> property</h3> |
2482 | 2498 | <pre class="programlisting"> "current-status-message" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read</pre> |
2483 | <p>The Status message string of the account.</p> | |
2484 | <p>Default value: NULL</p> | |
2485 | </div> | |
2486 | <hr> | |
2487 | <div class="refsect2" title='The "display-name" property'> | |
2488 | <a name="TpAccount--display-name"></a><h3>The <code class="literal">"display-name"</code> property</h3> | |
2489 | <pre class="programlisting"> "display-name" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read</pre> | |
2490 | <p> | |
2491 | The account's display name, from the DisplayName property. | |
2499 | <p> | |
2500 | The current status message message of the account. | |
2492 | 2501 | </p> |
2493 | 2502 | <p> |
2494 | 2503 | One can receive change notifications on this property by connecting |
2503 | 2512 | <p class="since">Since 0.9.0</p> |
2504 | 2513 | </div> |
2505 | 2514 | <hr> |
2515 | <div class="refsect2" title='The "display-name" property'> | |
2516 | <a name="TpAccount--display-name"></a><h3>The <code class="literal">"display-name"</code> property</h3> | |
2517 | <pre class="programlisting"> "display-name" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read</pre> | |
2518 | <p> | |
2519 | The account's display name, from the DisplayName property. | |
2520 | </p> | |
2521 | <p> | |
2522 | One can receive change notifications on this property by connecting | |
2523 | to the <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-notify"><span class="type">"notify"</span></a> signal and using this property as the signal | |
2524 | detail. | |
2525 | </p> | |
2526 | <p> | |
2527 | This is not guaranteed to have been retrieved until | |
2528 | <a class="link" href="telepathy-glib-account.html#tp-account-prepare-async" title="tp_account_prepare_async ()"><code class="function">tp_account_prepare_async()</code></a> has finished; until then, the value is | |
2529 | <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p> | |
2530 | <p>Default value: NULL</p> | |
2531 | <p class="since">Since 0.9.0</p> | |
2532 | </div> | |
2533 | <hr> | |
2506 | 2534 | <div class="refsect2" title='The "enabled" property'> |
2507 | 2535 | <a name="TpAccount--enabled"></a><h3>The <code class="literal">"enabled"</code> property</h3> |
2508 | 2536 | <pre class="programlisting"> "enabled" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read</pre> |
2592 | 2620 | <a name="TpAccount--requested-presence-type"></a><h3>The <code class="literal">"requested-presence-type"</code> property</h3> |
2593 | 2621 | <pre class="programlisting"> "requested-presence-type" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read</pre> |
2594 | 2622 | <p> |
2595 | The account's requested presence type. | |
2623 | The account's requested presence type (a <a class="link" href="telepathy-glib-enums.html#TpConnectionPresenceType" title="enum TpConnectionPresenceType"><span class="type">TpConnectionPresenceType</span></a>). | |
2596 | 2624 | </p> |
2597 | 2625 | <p> |
2598 | 2626 | One can receive change notifications on this property by connecting |
239 | 239 | <p> |
240 | 240 | </p> |
241 | 241 | <div class="example"> |
242 | <a name="id2912689"></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> | |
242 | <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> | |
243 | 243 | <div class="example-contents"> |
244 | 244 | <table class="listing_frame" border="0" cellpadding="0" cellspacing="0"> |
245 | 245 | <tbody> |
858 | 858 | <tbody> |
859 | 859 | <tr> |
860 | 860 | <td><p><span class="term"><em class="parameter"><code>repo</code></em>Â :</span></p></td> |
861 | <td> <span class="type">TpHandleRepo</span> that holds the handles to be reffed by this set | |
861 | <td> <a class="link" href="telepathy-glib-handle-repo.html#TpHandleRepoIface"><span class="type">TpHandleRepoIface</span></a> that holds the handles to be reffed by this set | |
862 | 862 | </td> |
863 | 863 | </tr> |
864 | 864 | <tr> |
914 | 914 | <pre class="programlisting"><span class="returnvalue">void</span> tp_handle_set_add (<a class="link" href="telepathy-glib-handle-repo.html#TpHandleSet" title="TpHandleSet"><span class="returnvalue">TpHandleSet</span></a> *set, |
915 | 915 | <a class="link" href="telepathy-glib-handle.html#TpHandle" title="TpHandle"><span class="returnvalue">TpHandle</span></a> handle);</pre> |
916 | 916 | <p> |
917 | Add a handle to a <a class="link" href="telepathy-glib-handle-repo.html#TpHandleSet" title="TpHandleSet"><span class="type">TpHandleSet</span></a>,and reference it in the attched | |
918 | <span class="type">TpHandleRepo</span></p> | |
917 | Add a handle to a <a class="link" href="telepathy-glib-handle-repo.html#TpHandleSet" title="TpHandleSet"><span class="type">TpHandleSet</span></a>, and reference it in the attached | |
918 | <a class="link" href="telepathy-glib-handle-repo.html#TpHandleRepoIface"><span class="type">TpHandleRepoIface</span></a></p> | |
919 | 919 | <div class="variablelist"><table border="0"> |
920 | 920 | <col align="left" valign="top"> |
921 | 921 | <tbody> |
938 | 938 | <pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> tp_handle_set_remove (<a class="link" href="telepathy-glib-handle-repo.html#TpHandleSet" title="TpHandleSet"><span class="returnvalue">TpHandleSet</span></a> *set, |
939 | 939 | <a class="link" href="telepathy-glib-handle.html#TpHandle" title="TpHandle"><span class="returnvalue">TpHandle</span></a> handle);</pre> |
940 | 940 | <p> |
941 | Remove a handle to a <a class="link" href="telepathy-glib-handle-repo.html#TpHandleSet" title="TpHandleSet"><span class="type">TpHandleSet</span></a>,and unreference it in the attched | |
942 | <span class="type">TpHandleRepo</span></p> | |
941 | Remove a handle from a <a class="link" href="telepathy-glib-handle-repo.html#TpHandleSet" title="TpHandleSet"><span class="type">TpHandleSet</span></a>, and unreference it in the attached | |
942 | <a class="link" href="telepathy-glib-handle-repo.html#TpHandleRepoIface"><span class="type">TpHandleRepoIface</span></a></p> | |
943 | 943 | <div class="variablelist"><table border="0"> |
944 | 944 | <col align="left" valign="top"> |
945 | 945 | <tbody> |
212 | 212 | const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> *error);</pre> |
213 | 213 | <p> |
214 | 214 | Mark <em class="parameter"><code>self</code></em> as having been invalidated - no further calls will work, and |
215 | if not already invalidated, the <span class="type">"invalidated"</span> signal will be emitted | |
215 | if not already invalidated, the <a class="link" href="telepathy-glib-proxy.html#TpProxy-invalidated" title='The "invalidated" signal'><span class="type">"invalidated"</span></a> signal will be emitted | |
216 | 216 | with the given error.</p> |
217 | 217 | <div class="variablelist"><table border="0"> |
218 | 218 | <col align="left" valign="top"> |
520 | 520 | </tr> |
521 | 521 | <tr> |
522 | 522 | <td><p><a name="TP-DBUS-ERROR-PROXY-UNREFERENCED:CAPS"></a><span class="term"><code class="literal">TP_DBUS_ERROR_PROXY_UNREFERENCED</code></span></p></td> |
523 | <td> Emitted in <span class="type">"invalidated"</span> | |
523 | <td> Emitted in <a class="link" href="telepathy-glib-proxy.html#TpProxy-invalidated" title='The "invalidated" signal'><span class="type">"invalidated"</span></a> | |
524 | 524 | when the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a> has lost its last reference |
525 | 525 | </td> |
526 | 526 | </tr> |
532 | 532 | </tr> |
533 | 533 | <tr> |
534 | 534 | <td><p><a name="TP-DBUS-ERROR-NAME-OWNER-LOST:CAPS"></a><span class="term"><code class="literal">TP_DBUS_ERROR_NAME_OWNER_LOST</code></span></p></td> |
535 | <td> Emitted in <span class="type">"invalidated"</span> if the | |
535 | <td> Emitted in <a class="link" href="telepathy-glib-proxy.html#TpProxy-invalidated" title='The "invalidated" signal'><span class="type">"invalidated"</span></a> if the | |
536 | 536 | remote process loses ownership of its bus name, and raised by |
537 | 537 | any <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a> methods that have not had a reply at that time or are called |
538 | 538 | after the proxy becomes invalid in this way (usually meaning it crashed) |
565 | 565 | <tr> |
566 | 566 | <td><p><a name="TP-DBUS-ERROR-OBJECT-REMOVED:CAPS"></a><span class="term"><code class="literal">TP_DBUS_ERROR_OBJECT_REMOVED</code></span></p></td> |
567 | 567 | <td> A generic error which can be used with |
568 | <span class="type">"invalidated"</span> to indicate an application-specific indication | |
568 | <a class="link" href="telepathy-glib-proxy.html#TpProxy-invalidated" title='The "invalidated" signal'><span class="type">"invalidated"</span></a> to indicate an application-specific indication | |
569 | 569 | that the remote object no longer exists, if no more specific error |
570 | 570 | is available. |
571 | 571 | </td> |
134 | 134 | </td> |
135 | 135 | </tr></tbody> |
136 | 136 | </table></div> |
137 | <p class="since">Since 0.7.34</p> | |
137 | 138 | </div> |
138 | 139 | <hr> |
139 | 140 | <div class="refsect2" title="tp_verify_true()"> |
163 | 164 | <tr> |
164 | 165 | <td><p><span class="term"><span class="emphasis"><em>Returns</em></span>Â :</span></p></td> |
165 | 166 | <td> 1 |
166 | </td> | |
167 | </tr> | |
168 | </tbody> | |
169 | </table></div> | |
167 | ||
168 | </td> | |
169 | </tr> | |
170 | </tbody> | |
171 | </table></div> | |
172 | <p class="since">Since 0.7.34</p> | |
170 | 173 | </div> |
171 | 174 | <hr> |
172 | 175 | <div class="refsect2" title="tp_verify_statement()"> |
189 | 192 | </td> |
190 | 193 | </tr></tbody> |
191 | 194 | </table></div> |
195 | <p class="since">Since 0.7.34</p> | |
192 | 196 | </div> |
193 | 197 | <hr> |
194 | 198 | <div class="refsect2" title="tp_g_hash_table_update ()"> |
1002 | 1006 | </tr> |
1003 | 1007 | <tr> |
1004 | 1008 | <td><p><span class="term"><em class="parameter"><code>connect_flags</code></em>Â :</span></p></td> |
1005 | <td> a combination of <span class="type">GConnnectFlags</span>. | |
1006 | </td> | |
1007 | </tr> | |
1008 | <tr> | |
1009 | <td><p><span class="term"><span class="emphasis"><em>Returns</em></span>Â :</span></p></td> | |
1010 | <td> the handler id. | |
1011 | </td> | |
1012 | </tr> | |
1013 | </tbody> | |
1014 | </table></div> | |
1009 | <td> a combination of <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#GConnectFlags"><span class="type">GConnectFlags</span></a>. | |
1010 | </td> | |
1011 | </tr> | |
1012 | <tr> | |
1013 | <td><p><span class="term"><span class="emphasis"><em>Returns</em></span>Â :</span></p></td> | |
1014 | <td> the handler id | |
1015 | ||
1016 | </td> | |
1017 | </tr> | |
1018 | </tbody> | |
1019 | </table></div> | |
1020 | <p class="since">Since 0.9.2</p> | |
1015 | 1021 | </div> |
1016 | 1022 | <hr> |
1017 | 1023 | <div class="refsect2" title="tp_value_array_build ()"> |
1027 | 1033 | <p> |
1028 | 1034 | </p> |
1029 | 1035 | <div class="example"> |
1030 | <a name="id3340797"></a><p class="title"><b>Example 2. using tp_value_array_build</b></p> | |
1036 | <a name="id3221652"></a><p class="title"><b>Example 2. using tp_value_array_build</b></p> | |
1031 | 1037 | <div class="example-contents"> |
1032 | 1038 | <table class="listing_frame" border="0" cellpadding="0" cellspacing="0"> |
1033 | 1039 | <tbody> |
1069 | 1075 | <tr> |
1070 | 1076 | <td><p><span class="term"><span class="emphasis"><em>Returns</em></span>Â :</span></p></td> |
1071 | 1077 | <td> a newly created <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Value-arrays.html#GValueArray"><span class="type">GValueArray</span></a>, free with g_value_array_free. |
1072 | </td> | |
1073 | </tr> | |
1074 | </tbody> | |
1075 | </table></div> | |
1078 | ||
1079 | </td> | |
1080 | </tr> | |
1081 | </tbody> | |
1082 | </table></div> | |
1083 | <p class="since">Since 0.9.2</p> | |
1076 | 1084 | </div> |
1077 | 1085 | </div> |
1078 | 1086 | </div> |
2400 | 2400 | <keyword type="function" name="TpDynamicHandleRepoNormalizeFunc ()" link="TpDynamicHandleRepo.html#TpDynamicHandleRepoNormalizeFunc"/> |
2401 | 2401 | <keyword type="property" name="The "default-normalize-context" property" link="TpDynamicHandleRepo.html#TpDynamicHandleRepo--default-normalize-context"/> |
2402 | 2402 | <keyword type="property" name="The "normalize-function" property" link="TpDynamicHandleRepo.html#TpDynamicHandleRepo--normalize-function"/> |
2403 | <keyword type="macro" name="tp_verify()" link="telepathy-glib-util.html#tp-verify"/> | |
2404 | <keyword type="macro" name="tp_verify_true()" link="telepathy-glib-util.html#tp-verify-true"/> | |
2405 | <keyword type="macro" name="tp_verify_statement()" link="telepathy-glib-util.html#tp-verify-statement"/> | |
2403 | <keyword type="macro" name="tp_verify()" link="telepathy-glib-util.html#tp-verify" since="0.7.34"/> | |
2404 | <keyword type="macro" name="tp_verify_true()" link="telepathy-glib-util.html#tp-verify-true" since="0.7.34"/> | |
2405 | <keyword type="macro" name="tp_verify_statement()" link="telepathy-glib-util.html#tp-verify-statement" since="0.7.34"/> | |
2406 | 2406 | <keyword type="function" name="tp_g_hash_table_update ()" link="telepathy-glib-util.html#tp-g-hash-table-update" since="0.7.0"/> |
2407 | 2407 | <keyword type="function" name="tp_g_ptr_array_contains ()" link="telepathy-glib-util.html#tp-g-ptr-array-contains"/> |
2408 | 2408 | <keyword type="function" name="tp_g_value_slice_new ()" link="telepathy-glib-util.html#tp-g-value-slice-new" since="0.5.14"/> |
2428 | 2428 | <keyword type="function" name="tp_strv_contains ()" link="telepathy-glib-util.html#tp-strv-contains" since="0.7.15"/> |
2429 | 2429 | <keyword type="function" name="tp_g_key_file_get_int64 ()" link="telepathy-glib-util.html#tp-g-key-file-get-int64" since="0.7.31"/> |
2430 | 2430 | <keyword type="function" name="tp_g_key_file_get_uint64 ()" link="telepathy-glib-util.html#tp-g-key-file-get-uint64" since="0.7.31"/> |
2431 | <keyword type="function" name="tp_g_signal_connect_object ()" link="telepathy-glib-util.html#tp-g-signal-connect-object"/> | |
2432 | <keyword type="function" name="tp_value_array_build ()" link="telepathy-glib-util.html#tp-value-array-build"/> | |
2431 | <keyword type="function" name="tp_g_signal_connect_object ()" link="telepathy-glib-util.html#tp-g-signal-connect-object" since="0.9.2"/> | |
2432 | <keyword type="function" name="tp_value_array_build ()" link="telepathy-glib-util.html#tp-value-array-build" since="0.9.2"/> | |
2433 | 2433 | <keyword type="macro" name="TP_ANSI_RESET" link="telepathy-glib-debug-ansi.html#TP-ANSI-RESET:CAPS"/> |
2434 | 2434 | <keyword type="macro" name="TP_ANSI_BOLD_ON" link="telepathy-glib-debug-ansi.html#TP-ANSI-BOLD-ON:CAPS"/> |
2435 | 2435 | <keyword type="macro" name="TP_ANSI_INVERSE_ON" link="telepathy-glib-debug-ansi.html#TP-ANSI-INVERSE-ON:CAPS"/> |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
15 | 16 | |
17 | ||
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 | |
18 | 20 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
15 | 16 | |
17 | ||
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 | |
18 | 20 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
15 | 16 | |
17 | ||
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 | |
18 | 20 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 | |
37 | 39 | </para> |
38 | 40 | |
39 | 41 | @tpsvcchannelinterfacegroup: the object which received the signal. |
40 | @Param3: | |
42 | @arg2: | |
41 | 43 | |
42 | 44 | <!-- ##### SIGNAL TpSvcChannelInterfaceGroup::members-changed ##### --> |
43 | 45 | <para> |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 | |
29 | 31 | |
30 | 32 | @tpsvcchanneltypetubes: the object which received the signal. |
31 | 33 | @arg1: |
32 | @Param4: | |
34 | @arg3: | |
33 | 35 | |
34 | 36 | <!-- ##### SIGNAL TpSvcChannelTypeTubes::new-tube ##### --> |
35 | 37 | <para> |
41 | 43 | @arg2: |
42 | 44 | @arg3: |
43 | 45 | @arg4: |
44 | @Param7: | |
46 | @arg6: | |
45 | 47 | |
46 | 48 | <!-- ##### SIGNAL TpSvcChannelTypeTubes::stream-tube-new-connection ##### --> |
47 | 49 | <para> |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
8 | 8 | |
9 | 9 | </para> |
10 | 10 | |
11 | ||
11 | 12 | <!-- ##### SECTION See_Also ##### --> |
12 | 13 | <para> |
13 | 14 | |
14 | 15 | </para> |
16 | ||
15 | 17 | |
16 | 18 | <!-- ##### SECTION Stability_Level ##### --> |
17 | 19 |
1348 | 1348 | * tp_account_manager_is_prepared: |
1349 | 1349 | * @manager: a #TpAccountManager |
1350 | 1350 | * @feature: a feature which is required |
1351 | * @error: a #GError to fill | |
1352 | 1351 | * |
1353 | 1352 | * <!-- --> |
1354 | 1353 | * |
1355 | * Returns: %TRUE whether @feature is ready on @manager, otherwise %FALSE | |
1354 | * Returns: %TRUE if @feature is ready on @manager, otherwise %FALSE | |
1356 | 1355 | * |
1357 | 1356 | * Since: 0.9.0 |
1358 | 1357 | */ |
886 | 886 | /** |
887 | 887 | * TpAccount:current-presence-type: |
888 | 888 | * |
889 | * The account connection's current presence type. | |
889 | * The account connection's current presence type | |
890 | * (a %TpConnectionPresenceType). | |
890 | 891 | * |
891 | 892 | * One can receive change notifications on this property by connecting |
892 | 893 | * to the #GObject::notify signal and using this property as the signal |
930 | 931 | G_PARAM_STATIC_STRINGS | G_PARAM_READABLE)); |
931 | 932 | |
932 | 933 | /** |
933 | * TpAccount: current-status-message: | |
934 | * TpAccount:current-status-message: | |
934 | 935 | * |
935 | 936 | * The current status message message of the account. |
936 | 937 | * |
954 | 955 | /** |
955 | 956 | * TpAccount:connection-status: |
956 | 957 | * |
957 | * The account's connection status type. | |
958 | * The account's connection status type (a %TpConnectionStatus). | |
958 | 959 | * |
959 | 960 | * One can receive change notifications on this property by connecting |
960 | 961 | * to the #GObject::notify signal and using this property as the signal |
978 | 979 | /** |
979 | 980 | * TpAccount:connection-status-reason: |
980 | 981 | * |
981 | * The account's connection status reason. | |
982 | * The account's connection status reason (a %TpConnectionStatusReason). | |
982 | 983 | * |
983 | 984 | * One can receive change notifications on this property by connecting |
984 | 985 | * to the #GObject::notify signal and using this property as the signal |
1165 | 1166 | /** |
1166 | 1167 | * TpAccount:requested-presence-type: |
1167 | 1168 | * |
1168 | * The account's requested presence type. | |
1169 | * The account's requested presence type (a #TpConnectionPresenceType). | |
1169 | 1170 | * |
1170 | 1171 | * One can receive change notifications on this property by connecting |
1171 | 1172 | * to the #GObject::notify signal and using this property as the signal |
1433 | 1434 | return NULL; |
1434 | 1435 | |
1435 | 1436 | /* Should be a full object path, not the special "/" value */ |
1436 | if (strlen (path) == 1) | |
1437 | if (!tp_strdiff (path, "/")) | |
1437 | 1438 | return NULL; |
1438 | 1439 | |
1439 | 1440 | _tp_account_set_connection (account, path); |
1535 | 1536 | * tp_account_get_parameters: |
1536 | 1537 | * @account: a #TpAccount |
1537 | 1538 | * |
1538 | * <!-- --> | |
1539 | * Returns the parameters of the account, in a hash table where each string | |
1540 | * is the parameter name (account, password, require-encryption etc.), and | |
1541 | * each value is a #GValue. Using the tp_asv_get family of functions | |
1542 | * (tp_asv_get_uint32(), tp_asv_get_string() etc.) to access the parameters is | |
1543 | * recommended. | |
1544 | * | |
1545 | * The allowed parameters depend on the connection manager, and can be found | |
1546 | * via tp_connection_manager_get_protocol() and | |
1547 | * tp_connection_manager_protocol_get_param(). Well-known parameters are | |
1548 | * listed | |
1549 | * <ulink url="http://telepathy.freedesktop.org/spec/org.freedesktop.Telepathy.ConnectionManager.html#org.freedesktop.Telepathy.ConnectionManager.RequestConnection">in | |
1550 | * the Telepathy D-Bus Interface Specification</ulink>. | |
1539 | 1551 | * |
1540 | 1552 | * Returns: the hash table of parameters on @account |
1541 | 1553 | * |
2498 | 2510 | * |
2499 | 2511 | * Finishes an async get operation of @account's avatar. |
2500 | 2512 | * |
2501 | * Returns: a #GArray of the account's avatar, or %NULL on failure | |
2513 | * Returns: a #GArray of #guchar containing the bytes of the account's avatar, | |
2514 | * or %NULL on failure | |
2502 | 2515 | * |
2503 | 2516 | * Since: 0.9.0 |
2504 | 2517 | */ |
2748 | 2761 | * from the path. This includes replacing underscores with hyphens in the |
2749 | 2762 | * protocol name, as defined in the Account specification. |
2750 | 2763 | * |
2751 | * Any of the out parameters may be %NULL if not needed. | |
2764 | * Any of the out parameters may be %NULL if not needed. If %TRUE is returned, | |
2765 | * the caller is responsible for freeing the strings stored in any non-%NULL | |
2766 | * out parameters, using g_free(). | |
2752 | 2767 | * |
2753 | 2768 | * Returns: %TRUE if @object_path was successfully parsed; %FALSE and sets |
2754 | 2769 | * @error otherwise. |
214 | 214 | { |
215 | 215 | TpBaseConnectionManager *self = TP_BASE_CONNECTION_MANAGER (object); |
216 | 216 | TpBaseConnectionManagerPrivate *priv = self->priv; |
217 | GObjectFinalizeFunc dispose = | |
218 | G_OBJECT_CLASS (tp_base_connection_manager_parent_class)->dispose; | |
217 | 219 | |
218 | 220 | if (priv->dispose_has_run) |
219 | 221 | return; |
220 | 222 | |
221 | 223 | priv->dispose_has_run = TRUE; |
224 | ||
225 | if (dispose != NULL) | |
226 | dispose (object); | |
222 | 227 | } |
223 | 228 | |
224 | 229 | static void |
96 | 96 | * Telepathy client. The hash table will be freed after the function returns; |
97 | 97 | * if the channel manager wants to keep it around, it must copy it. |
98 | 98 | * |
99 | * Signature of an implementation of #TpChannelManagerIface::create_channel and | |
100 | * #TpChannelManagerIface::request_channel. | |
99 | * Signature of an implementation of #TpChannelManagerIface.create_channel and | |
100 | * #TpChannelManagerIface.request_channel. | |
101 | 101 | * |
102 | 102 | * Implementations should inspect the contents of @request_properties to see if |
103 | 103 | * it matches a channel class handled by this manager. If so, they should |
104 | 104 | * return %TRUE to accept responsibility for the request, and ultimately emit |
105 | * exactly one of the #TpChannelManagerIface::new-channels, | |
106 | * #TpChannelManagerIface::already-satisfied and | |
107 | * #TpChannelManagerIface::request-failed signals (including @request_token in | |
105 | * exactly one of the #TpChannelManager::new-channels, | |
106 | * #TpChannelManager::already-satisfied and | |
107 | * #TpChannelManager::request-failed signals (including @request_token in | |
108 | 108 | * the appropriate argument). |
109 | 109 | * |
110 | 110 | * If the implementation does not want to handle the request, it should return |
671 | 671 | * |
672 | 672 | * Checks whether the keys of @properties are elements of one of @fixed and |
673 | 673 | * @allowed. This is intended to be used by implementations of |
674 | * #TpChannelManager::create_channel which have decided to accept a request, | |
674 | * #TpChannelManagerIface.create_channel which have decided to accept a request, | |
675 | 675 | * to conform with the specification's requirement that unknown requested |
676 | 676 | * properties must cause a request to fail, not be silently ignored. |
677 | 677 | * |
1170 | 1170 | g_ptr_array_add (protocols, proto); |
1171 | 1171 | continue; |
1172 | 1172 | } |
1173 | ||
1174 | DEBUG ("invalid name: %s", *iter); | |
1175 | 1173 | } |
1176 | 1174 | |
1177 | 1175 | g_ptr_array_add (bus_names, NULL); |
422 | 422 | |
423 | 423 | void |
424 | 424 | tp_contacts_mixin_set_contact_attribute (GHashTable *contact_attributes, |
425 | TpHandle handle, gchar *attribute, GValue *value) | |
425 | TpHandle handle, const gchar *attribute, GValue *value) | |
426 | 426 | { |
427 | 427 | GHashTable *attributes; |
428 | 428 |
101 | 101 | TpContactsMixinFillContactAttributesFunc fill_contact_attributes); |
102 | 102 | |
103 | 103 | void tp_contacts_mixin_set_contact_attribute (GHashTable *contact_attributes, |
104 | TpHandle handle, gchar *attribute, GValue *value); | |
104 | TpHandle handle, const gchar *attribute, GValue *value); | |
105 | 105 | |
106 | 106 | G_END_DECLS |
107 | 107 |
35 | 35 | * time. |
36 | 36 | * |
37 | 37 | * Most connection managers will use this for handles of type |
38 | * %TP_HANDLE_TYPE_CONTACT_LIST. | |
38 | * %TP_HANDLE_TYPE_LIST. | |
39 | 39 | */ |
40 | 40 | |
41 | 41 | #include <telepathy-glib/handle-repo-static.h> |
36 | 36 | |
37 | 37 | /** |
38 | 38 | * tp_handle_set_new: |
39 | * @repo: #TpHandleRepo that holds the handles to be reffed by this set | |
39 | * @repo: #TpHandleRepoIface that holds the handles to be reffed by this set | |
40 | 40 | * |
41 | 41 | * Creates a new #TpHandleSet |
42 | 42 | * |
94 | 94 | * @set: #TpHandleSet to add this handle to |
95 | 95 | * @handle: handle to add |
96 | 96 | * |
97 | * Add a handle to a #TpHandleSet,and reference it in the attched | |
98 | * #TpHandleRepo | |
97 | * Add a handle to a #TpHandleSet, and reference it in the attached | |
98 | * #TpHandleRepoIface | |
99 | 99 | * |
100 | 100 | */ |
101 | 101 | void |
116 | 116 | * @set: #TpHandleSet to remove this handle from |
117 | 117 | * @handle: handle to remove |
118 | 118 | * |
119 | * Remove a handle to a #TpHandleSet,and unreference it in the attched | |
120 | * #TpHandleRepo | |
119 | * Remove a handle from a #TpHandleSet, and unreference it in the attached | |
120 | * #TpHandleRepoIface | |
121 | 121 | * |
122 | 122 | * Returns: FALSE if the handle was invalid, or was not in this set |
123 | 123 | */ |
23 | 23 | * @short_description: a mixin implementation of the text channel type and the |
24 | 24 | * Messages interface |
25 | 25 | * @see_also: #TpSvcChannelTypeText, #TpSvcChannelInterfaceMessages, |
26 | * #TpDBusPropertiesMixin | |
26 | * <link linkend="dbus-properties-mixin">TpDBusPropertiesMixin</link> | |
27 | 27 | * |
28 | 28 | * This mixin can be added to a channel GObject class to implement the |
29 | 29 | * text channel type (with the Messages interface) in a general way. |
170 | 170 | |
171 | 171 | /* for receiving */ |
172 | 172 | guint32 incoming_id; |
173 | /* A non-NULL reference until we have been queued; borrowed afterwards */ | |
174 | GObject *incoming_target; | |
175 | 173 | |
176 | 174 | /* for sending */ |
177 | 175 | DBusGMethodInvocation *outgoing_context; |
1418 | 1416 | } |
1419 | 1417 | |
1420 | 1418 | |
1421 | static gboolean | |
1422 | queue_pending (gpointer data) | |
1423 | { | |
1424 | TpMessage *pending = data; | |
1425 | GObject *object = pending->incoming_target; | |
1419 | static void | |
1420 | queue_pending (GObject *object, TpMessage *pending) | |
1421 | { | |
1426 | 1422 | TpMessageMixin *mixin = TP_MESSAGE_MIXIN (object); |
1427 | 1423 | TpChannelTextMessageFlags flags; |
1428 | 1424 | TpChannelTextMessageType type; |
1485 | 1481 | |
1486 | 1482 | g_free (text); |
1487 | 1483 | } |
1488 | ||
1489 | g_object_unref (object); | |
1490 | ||
1491 | return FALSE; | |
1492 | 1484 | } |
1493 | 1485 | |
1494 | 1486 | |
1532 | 1524 | tp_message_set_uint64 (message, 0, "message-received", |
1533 | 1525 | time (NULL)); |
1534 | 1526 | |
1535 | /* We don't actually add the pending message to the queue immediately, | |
1536 | * to guarantee that the caller of this function gets to see the message ID | |
1537 | * before anyone else does (so that it can acknowledge the message to the | |
1538 | * network). */ | |
1539 | message->incoming_target = g_object_ref (object); | |
1540 | g_idle_add (queue_pending, message); | |
1527 | /* Here we add the message to the incoming queue: Although we have not | |
1528 | * returned the message ID to the caller directly at this point, we | |
1529 | * have poked it into the TpMessage, which the caller (and anyone connected | |
1530 | * to the relevant signals) has access to, so there isn't actually a race | |
1531 | * between putting the message into the queue and making its ID available. | |
1532 | */ | |
1533 | queue_pending (object, message); | |
1541 | 1534 | |
1542 | 1535 | return message->incoming_id; |
1543 | 1536 | } |
1637 | 1630 | * @message: The outgoing message |
1638 | 1631 | * @flags: The flags used when sending the message, which may be a subset of |
1639 | 1632 | * those passed to the #TpMessageMixinSendImpl implementation if not all are |
1640 | * supported, or %0 on error. | |
1633 | * supported, or 0 on error. | |
1641 | 1634 | * @token: A token representing the sent message (see the Telepathy D-Bus API |
1642 | 1635 | * specification), or an empty string if no suitable identifier is available, |
1643 | 1636 | * or %NULL on error |
67 | 67 | * TpDBusError: |
68 | 68 | * @TP_DBUS_ERROR_UNKNOWN_REMOTE_ERROR: Raised if the error raised by |
69 | 69 | * a remote D-Bus object is not recognised |
70 | * @TP_DBUS_ERROR_PROXY_UNREFERENCED: Emitted in #TpProxy:invalidated | |
70 | * @TP_DBUS_ERROR_PROXY_UNREFERENCED: Emitted in #TpProxy::invalidated | |
71 | 71 | * when the #TpProxy has lost its last reference |
72 | 72 | * @TP_DBUS_ERROR_NO_INTERFACE: Raised by #TpProxy methods if the remote |
73 | 73 | * object does not appear to have the required interface |
74 | * @TP_DBUS_ERROR_NAME_OWNER_LOST: Emitted in #TpProxy:invalidated if the | |
74 | * @TP_DBUS_ERROR_NAME_OWNER_LOST: Emitted in #TpProxy::invalidated if the | |
75 | 75 | * remote process loses ownership of its bus name, and raised by |
76 | 76 | * any #TpProxy methods that have not had a reply at that time or are called |
77 | 77 | * after the proxy becomes invalid in this way (usually meaning it crashed) |
84 | 84 | * @TP_DBUS_ERROR_INVALID_MEMBER_NAME: Raised if a D-Bus method or signal |
85 | 85 | * name given is not valid |
86 | 86 | * @TP_DBUS_ERROR_OBJECT_REMOVED: A generic error which can be used with |
87 | * #TpProxy:invalidated to indicate an application-specific indication | |
87 | * #TpProxy::invalidated to indicate an application-specific indication | |
88 | 88 | * that the remote object no longer exists, if no more specific error |
89 | 89 | * is available. |
90 | 90 | * @TP_DBUS_ERROR_CANCELLED: Raised from calls that re-enter the main |
426 | 426 | * @error: an error causing the invalidation |
427 | 427 | * |
428 | 428 | * Mark @self as having been invalidated - no further calls will work, and |
429 | * if not already invalidated, the #TpProxy:invalidated signal will be emitted | |
429 | * if not already invalidated, the #TpProxy::invalidated signal will be emitted | |
430 | 430 | * with the given error. |
431 | 431 | * |
432 | 432 | * Since: 0.7.1 |
38 | 38 | * tp_text_mixin_finalize() from your dispose or finalize function. |
39 | 39 | * |
40 | 40 | * To use the text mixin as the implementation of |
41 | * #TpSvcTextInterface, in the function you pass to G_IMPLEMENT_INTERFACE, | |
41 | * #TpSvcChannelTypeText, in the function you pass to G_IMPLEMENT_INTERFACE, | |
42 | 42 | * you should first call tp_text_mixin_iface_init(), then call |
43 | 43 | * tp_svc_channel_type_text_implement_send() to register your implementation |
44 | 44 | * of the Send method. |
47 | 47 | * |
48 | 48 | * (This is gnulib's verify macro, written by Paul Eggert, Bruno Haible and |
49 | 49 | * Jim Meyering.) |
50 | * | |
51 | * Since: 0.7.34 | |
50 | 52 | */ |
51 | 53 | |
52 | 54 | /** |
65 | 67 | * and Jim Meyering.) |
66 | 68 | * |
67 | 69 | * Returns: 1 |
70 | * | |
71 | * Since: 0.7.34 | |
68 | 72 | */ |
69 | 73 | |
70 | 74 | /** |
77 | 81 | * |
78 | 82 | * This macro can be used anywhere that a statement would be allowed; it |
79 | 83 | * is equivalent to ((void) tp_verify_true (R)). |
84 | * | |
85 | * Since: 0.7.34 | |
80 | 86 | */ |
81 | 87 | |
82 | 88 | /** |
888 | 894 | * @detailed_signal: a string of the form "signal-name::detail". |
889 | 895 | * @c_handler: the #GCallback to connect. |
890 | 896 | * @gobject: the object to pass as data to @c_handler. |
891 | * @connect_flags: a combination of #GConnnectFlags. | |
897 | * @connect_flags: a combination of #GConnectFlags. | |
892 | 898 | * |
893 | 899 | * Connects a #GCallback function to a signal for a particular object, as if |
894 | 900 | * with g_signal_connect(). Additionally, arranges for the signal handler to be |
906 | 912 | * user_data for callbacks without having to explicitly disconnect all the |
907 | 913 | * handlers in their finalizers. |
908 | 914 | * |
909 | * Returns: the handler id. | |
915 | * Returns: the handler id | |
916 | * | |
917 | * Since: 0.9.2 | |
910 | 918 | */ |
911 | 919 | gulong |
912 | 920 | tp_g_signal_connect_object (gpointer instance, |
988 | 996 | * </example> |
989 | 997 | * |
990 | 998 | * Returns: a newly created #GValueArray, free with g_value_array_free. |
999 | * | |
1000 | * Since: 0.9.2 | |
991 | 1001 | */ |
992 | 1002 | GValueArray * |
993 | 1003 | tp_value_array_build (gsize length, |
183 | 183 | self.h(' * implement_%s (gpointer klass,' % self.node_name_lc) |
184 | 184 | self.h(' * gpointer unused G_GNUC_UNUSED)') |
185 | 185 | self.h(' * {') |
186 | # "#" is special to gtkdoc under some circumstances; it appears | |
187 | # that escaping "##" as "#<!---->#" or "##" doesn't work, | |
188 | # but adding an extra hash symbol does. Thanks, gtkdoc :-( | |
189 | self.h(' * #define IMPLEMENT(x) %s%s_implement_###x (\\' | |
186 | self.h(' * #define IMPLEMENT(x) %s%s_implement_##x (\\' | |
190 | 187 | % (self.prefix_, self.node_name_lc)) |
191 | self.h(' * klass, my_object_###x)') | |
188 | self.h(' * klass, my_object_##x)') | |
192 | 189 | |
193 | 190 | for method in methods: |
194 | 191 | class_member_name = method.getAttribute('tp:name-for-bindings') |