summaryrefslogtreecommitdiff
path: root/src/muc-channel.c
Commit message (Collapse)AuthorAgeFilesLines
* Don't use sealed struct membersSimon McVittie2013-01-041-23/+28
| | | | | | This exposes a bug in the tests: several tests assumed that tubes' Interfaces would always come out in the same order, but the new APIs we're using break that assumption. Fix that too.
* Be single-include-compliantSimon McVittie2013-01-041-4/+2
|
* Include config.h and our corresponding header first in every source fileSimon McVittie2013-01-041-2/+3
| | | | | Putting the corresponding header first exposed a missing header inclusion in text-helper.h; fix that by using the meta-header.
* muc-channel: remove ::appeared signal, replace with is_respawning checkJonny Lamb2012-08-021-11/+0
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* tubes: use guint64s for all tube IDsJonny Lamb2012-08-021-18/+16
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* muc-channel: don't pretend to be connected after disposingJonny Lamb2012-06-061-0/+2
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* muc-manager: only expose the text MUC channel when necessaryJonny Lamb2012-06-061-0/+55
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* muc-manager: only signal channels when they're 'ready'Jonny Lamb2012-06-061-0/+6
| | | | | | | | It's nicer to only give the channel back when it's actually ready and joined instead of before hand. If it is returned too early gibber can be made to assert on its connection status. Gabble already does this. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* muc-channel: remove unused code to hold pointer to muc managerJonny Lamb2012-06-051-9/+0
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* tube-{iface,dbus,stream}: remove tubes-channel propertyJonny Lamb2012-05-311-2/+2
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* muc-channel: add public function to deal with offered bytestreamsJonny Lamb2012-05-311-0/+73
| | | | | | Again, more code copied from tubes-channel.c. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* muc-channel: handle tubes nodes in groupchat messages hereJonny Lamb2012-05-311-37/+196
| | | | | | This is basically code just copied from tubes-channel.c. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* muc-channel: add extract_tube_informationJonny Lamb2012-05-311-0/+99
| | | | | | This is copied from tubes-channel.c (soon to be removed). Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* muc-channel: send tube info messages to others in the MUCJonny Lamb2012-05-311-0/+177
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* muc-channel: do foreach over muc channel tube channels againJonny Lamb2012-05-311-0/+15
| | | | | | These have been stored in the Tubes channel before. No longer! Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* muc-channel: add way to request single Tube channelsJonny Lamb2012-05-311-0/+152
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* Use non-deprecated TpIntset APIsSimon McVittie2012-05-071-10/+10
| | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49594 Reviewed-by: Xavier Claessens <xavier.claessens@collabora.co.uk>
* Use TP_ERROR instead of long-deprecated TP_ERRORSSimon McVittie2012-05-071-4/+4
| | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49594 Reviewed-by: Xavier Claessens <xavier.claessens@collabora.co.uk>
* muc-channel: re-add 'creator' propertyJonny Lamb2012-04-031-1/+20
| | | | | | | | | Turns out I misunderstood this property before when porting to TpBaseChannel in 2e6d62f0e735bf4f774f and thought it meant requested. Let's re-add it to make avahi/tubes/two-muc-stream-tubes.py pass again. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* muc-channel: fix reference to SalutConnection in OLPC codeJonny Lamb2012-04-031-1/+2
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* muc-channel: Remove redefinition of SalutMucChannelPrivateSiraj Razick2012-03-121-3/+0
| | | | | SalutMucChannelPrivate is already defined in muc-channel.h so removing it from muc-channel.c.
* Merge branch 'cleanups'Jonny Lamb2012-02-291-438/+145
|\
| * muc-channel: use one property pair per line with g_object_getJonny Lamb2012-02-291-5/+9
| | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
| * muc-channel: subclass TpBaseChannelJonny Lamb2012-01-311-436/+139
| | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* | salut: Support using the dummy backendSiraj Razick2012-02-221-0/+2
| |
* | Update Wocky snapshot for one big header.Will Thompson2012-02-061-1/+1
|/ | | | | | | | | | We have to lose the reference to wocky_heartbeat_source_new from the symbol hack table, because it's not exposed in Wocky's public headers any more. That's okay, though: it's not intended for use by applications, let alone plugins. https://bugs.freedesktop.org/show_bug.cgi?id=45703 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
* Use _unref instead of _free _destroy when possible.unrefXavier Claessens2011-11-161-4/+4
| | | | | | | | | | | Replace g_(ptr_)array_free (foo, TRUE) and g_hash_table_destroy with respectively g_(ptr_)array_unref (foo) and g_hash_table_unref. I used this command to generate this patch: for f in `find -name "*.c"`; do sed -i $f -re 's/g_ptr_array_free \(([^ ,]+), TRUE\)/g_ptr_array_unref \(\1\)/'; done See Danielle's blog for explanation of possible bug _free can do: http://blogs.gnome.org/danni/2011/11/16/mistakes-with-g_value_set_boxed/
* Define a static inline no-op DEBUG() with --disable-debugWill Thompson2011-08-161-5/+1
|
* Cope with the default value of handle-type being changed in new tp-glibSjoerd Simons2011-06-251-1/+4
| | | | | | | | In recent versions of tp-glib the handle-type property defaults to TP_UNKNOWN_HANDLE_TYPE instead of 0. Update the various assertions which verify a channel doesn't get constructed with an unexpected handle type to accept both 0 and TP_UNKNOWN_HANDLE_TYPE so we're compatible with both versions.
* stop using gibber-namespaces.hJonny Lamb2011-05-041-4/+4
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* src: remove annoying salut- prefixJonny Lamb2011-04-281-0/+1423
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>