summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Add extensions to symbol-hacksSimon McVittie2014-02-141-2/+5
| | | | | | | | | Because the test interface is the last thing in the extensions static library, we have to add it to symbol-hacks.c so that it's visible to the plugin. This wouldn't work on platforms where plugins can't have undefined symbols, like Windows - we'd need something more like Mission Control's mission-control-plugins or Gabble's libgabble-plugins there - but it'll do for now.
* Use telepathy-glib for Sidecars1 interfaceSimon McVittie2014-02-071-10/+10
| | | | | Bug: https://bugs.freedesktop.org/show_bug.cgi?id=70382 Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
* Remove support for --disable-debugSimon McVittie2013-11-013-27/+0
|
* tube-dbus: fix TpTubeChannelState enum castingGuillaume Desmottes2013-10-021-4/+4
|
* NUM_TP_ got replaced by TP_NUM_Xavier Claessens2013-09-243-5/+5
|
* Initialize libdbus for thread-safetySimon McVittie2013-09-231-0/+5
| | | | | | | | | | | | | | | | | | | | libdbus is not thread-safe by default. This is a long-standing design flaw (<https://bugs.freedesktop.org/show_bug.cgi?id=54972>). We call into GIO, which calls into glib-networking, which can (at least in recent versions) invoke libproxy in a thread. libproxy apparently has a Network-Manager plugin, which uses libdbus in that thread; meanwhile, we use libdbus in the main thread and everything goes badly for us. In libdbus < 1.7.4, libraries cannot safely initialize libdbus for multi-threading, because that initialization is not itself thread-safe (!); in particular, glib-networking cannot safely initialize libdbus. So, we have to do it. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=65296 [copied from Gabble commit 83bb468e -smcv] Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
* Fix coding style typoXavier Claessens2013-09-191-1/+1
|
* Use g_key_file_set_uint64(), we already depend on glib >= 2.26Xavier Claessens2013-09-191-8/+2
|
* write-mgr-file: write presencesGuillaume Desmottes2013-09-191-0/+41
| | | | | | Bare copy from Gabble. https://bugs.freedesktop.org/show_bug.cgi?id=31108
* protocol: implement PresencesGuillaume Desmottes2013-09-193-0/+15
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=31108
* protocol: claim to implement PresencesGuillaume Desmottes2013-09-191-0/+1
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=31108
* write-mgr-file: write Avatars propertiesGuillaume Desmottes2013-09-191-0/+36
| | | | | | Bare copy from Gabble. https://bugs.freedesktop.org/show_bug.cgi?id=69508
* protocol: implement get_avatar_details()Guillaume Desmottes2013-09-193-0/+59
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=69508
* protocol: claim that we implement AvatarsGuillaume Desmottes2013-09-191-0/+13
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=69508
* add missing 'config.h' includesGuillaume Desmottes2013-09-171-0/+2
|
* connection: stop implementing old Presence interfaceGuillaume Desmottes2013-09-161-3/+0
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=69413
* Use gibber-sockets.h instead of manually including them.Jasper Lievisse Adriaanse2013-06-241-10/+1
| | | | | | | | On OpenBSD the lack of sys/socket.h being included here resulted in: error: field 'address' has incomplete type Bug: https://bugs.freedesktop.org/show_bug.cgi?id=65977 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
* Don't use sealed struct membersSimon McVittie2013-01-0418-112/+160
| | | | | | 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-0453-142/+82
|
* Include config.h and our corresponding header first in every source fileSimon McVittie2013-01-0445-49/+92
| | | | | Putting the corresponding header first exposed a missing header inclusion in text-helper.h; fix that by using the meta-header.
* Remove more inclusions of signals-marshal.hSimon McVittie2013-01-042-2/+0
|
* Avoid a variable name that looks as though it ought to be for AutomakeSimon McVittie2013-01-041-2/+2
| | | | | | Automake warns if a variable ends with LDFLAGS but has no corresponding Automake object. There is no libsalut-plugins-android.la, so it will warn about this one; just use a different variable for the Android build.
* Fix the build with --enable-olpc by removing unused variablesSimon McVittie2013-01-041-5/+0
| | | | Yet another instance of "things that aren't tested don't work"...
* Use GLib generic marshallers; stop generating our own marshallersSimon McVittie2013-01-0411-64/+10
|
* Merge branch 'cheerio-tubes'Jonny Lamb2012-08-2822-4082/+1798
|\ | | | | | | | | | | | | Conflicts: src/tubes-channel.c Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
| * muc-channel: remove ::appeared signal, replace with is_respawning checkJonny Lamb2012-08-022-20/+8
| | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
| * tubes-manager: add a comment about who owns new channelsJonny Lamb2012-08-021-0/+2
| | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
| * tubes: use guint64s for all tube IDsJonny Lamb2012-08-027-48/+45
| | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
| * tubes-manager: correct logic in looking up existing tubesJonny Lamb2012-07-241-1/+1
| | | | | | | | | | | | Good catch, Will! Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
| * tubes-manager: fix coding styleJonny Lamb2012-07-241-3/+3
| | | | | | | | 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-063-30/+158
| | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
| * tubes-manager: replace emit_new_channels with singular versionJonny Lamb2012-06-061-7/+2
| | | | | | | | | | | | We're signalling the creation of only one channel anyway. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
| * muc-manager: only signal channels when they're 'ready'Jonny Lamb2012-06-063-5/+165
| | | | | | | | | | | | | | | | 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>
| * tubes-channel: removeJonny Lamb2012-05-319-2700/+0
| | | | | | | | | | | | Hooray! Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
| * tube-{iface,dbus,stream}: remove tubes-channel propertyJonny Lamb2012-05-317-49/+7
| | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
| * muc-manager: remove all old TubesChannel referencesJonny Lamb2012-05-312-213/+0
| | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
| * tubes-manager: remove all old TubesChannel referencesJonny Lamb2012-05-311-120/+0
| | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
| * tubes-manager: create only Tube channels for incoming invitationsJonny Lamb2012-05-311-70/+70
| | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
| * muc-manager: send SI stream requests to the MUC channel, not tubes channelJonny Lamb2012-05-311-5/+5
| | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
| * muc-channel: add public function to deal with offered bytestreamsJonny Lamb2012-05-312-0/+77
| | | | | | | | | | | | 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-manager: create only Tube channels for channel requestsJonny Lamb2012-05-311-24/+17
| | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
| * muc-channel: do foreach over muc channel tube channels againJonny Lamb2012-05-313-21/+29
| | | | | | | | | | | | 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-313-0/+177
| | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
| * muc-manager: store Tube channels hereJonny Lamb2012-05-311-13/+5
| | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
| * muc-manager: remove Tubes channel handling codeJonny Lamb2012-05-312-40/+0
| | | | | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>