summaryrefslogtreecommitdiff
path: root/lib/gibber
Commit message (Collapse)AuthorAgeFilesLines
* multicast-causal-transport: make sure to always reset keepalive_timerGuillaume Desmottes2014-02-141-0/+2
| | | | Recent GLib raises a critical when trying to remove an invalid source.
* Remove support for --disable-debugSimon McVittie2013-11-012-31/+0
|
* fix WockyStanzaSubType enum castingGuillaume Desmottes2013-10-021-1/+1
|
* Gibber: stop generating enum typesXavier Claessens2013-09-192-29/+4
| | | | It breaks build in weird ways and is not useful
* Stop using deprecated libsoup functionXavier Claessens2013-09-191-1/+1
|
* Include config.h and our corresponding header first in every source fileSimon McVittie2013-01-0427-26/+49
| | | | | Putting the corresponding header first exposed a missing header inclusion in text-helper.h; fix that by using the meta-header.
* Use GLib generic marshallers in Gibber, tooSimon McVittie2013-01-0410-54/+10
|
* gibber-oob-file-transfer: assert we have a message before using itJonny Lamb2012-04-031-0/+2
| | | | | | | If we g_signal_connect (NULL, ...), it will not work, so let's fail earlier. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* Fix stuff caught by check-coding-style in siraj's codeOlli Salli2012-02-222-13/+13
|
* gibber: Make gibber cross compile with mingw32Siraj Razick2012-02-225-12/+17
| | | | | | | | | | The patch provides the changes required to make gibber compile under mingw32. - Index is replaced with strchr since index is deprecated and not included in mingw32 sdk - D_WIN32_WINNT=0x0501 is defined to make getnameinfo work - And other compile fixes
* Update Wocky snapshot for one big header.Will Thompson2012-02-069-19/+10
| | | | | | | | | | 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>
* Support building for Android.Alvaro Soliverez2011-11-211-0/+11
| | | | | | | | | | | This adds an autogen.sh and configure flag, --disable-submodules, to disable fetching the Wocky submodule (the flag is plural for consistency with other components), adds some missing compiler and linker flags, and adds targets for Androgenizer. Modified from a patch contributed by Derek Foreman. https://bugs.freedesktop.org/show_bug.cgi?id=42515
* Use _unref instead of _free _destroy when possible.unrefXavier Claessens2011-11-167-28/+28
| | | | | | | | | | | 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/
* ft-channel: include metadata in file transfer offerJonny Lamb2011-10-281-0/+9
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* gibber-ft: parse data forms in query node of file transfer offerJonny Lamb2011-10-273-0/+38
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* Define a static inline no-op DEBUG() with --disable-debugWill Thompson2011-08-161-7/+13
|
* gibber: Remove broken tests and dependency on xmldiffStef Walter2011-08-118-128/+0
| | | | | | * These tests don't run successfully anyway. https://bugs.freedesktop.org/show_bug.cgi?id=40001
* gibber ibb bytestream: removeJonny Lamb2011-05-093-719/+0
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* gibber-xmpp-error: removeJonny Lamb2011-05-045-715/+0
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* stop using GibberXmppErrorJonny Lamb2011-05-043-81/+60
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* gibber: remove gibber-namespaces.hJonny Lamb2011-05-042-69/+0
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* stop using gibber-namespaces.hJonny Lamb2011-05-046-62/+64
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* gibber-xmpp-writer: removedJonny Lamb2011-05-033-71/+0
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* muc-connection: use WockyXmppWriterJonny Lamb2011-05-031-8/+5
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* gibber-xmpp-reader: removedJonny Lamb2011-05-035-385/+0
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* muc-connection: use WockyXmppReaderJonny Lamb2011-05-031-31/+25
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* remove all set but unused variablesJonny Lamb2011-05-031-5/+3
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* Merge branch 'mock-avahi'Jonny Lamb2011-04-074-0/+27
|\
| * oob: hack around v6-in-v4 addresses being exposedJonny Lamb2011-04-064-0/+27
| | | | | | | | | | | | | | This commit should be reverted when we depend on a GLib new enough to fix bgo#646082. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* | check-gibber-listener: fix test by not depending on what test was run beforeJonny Lamb2011-04-051-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | The main loop (and therefore the listener) was only started if the signalled gboolean was FALSE. If this was the first test run then this would be the case, but if the tcp-listen test was run beforehand then it would be TRUE and so the main loop wouldn't run and the test would fail. Seeing that the unix-listen test doesn't actually ever test the signalled gboolean, let's just stop depending on it. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* | oob-file-transfer: use the correct enum when comparing membersJonny Lamb2011-04-051-1/+1
|/ | | | | | | | | | | | | We got a GSocketFamily enum member from g_socket_address_get_family, but then compared it to a SoupAddressFamily, although members of the latter enum are exactly the same as the members of the former. gcc pointed this out as: gibber-oob-file-transfer.c:526:14: error: comparison between ‘GSocketFamily’ and ‘enum <anonymous>’ Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* all: chain up to parent constructed if there is oneJonny Lamb2011-03-312-0/+6
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* bytestream-oob: ensure we free the socket address in an errorJonny Lamb2011-03-241-2/+3
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* bytestream-oob: use the actual socket address when connecting to remote contactJonny Lamb2011-03-241-2/+1
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* bytestream-[io]bb: fix so more than the first object can workJonny Lamb2011-03-242-24/+23
| | | | | | | Also, clean up by removing the if (blah blah blah) in the set_property implementation. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* gibber-file-transfer: porter property cannot be NULLJonny Lamb2011-03-232-8/+7
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* gibber: update to meta porter API changesJonny Lamb2011-03-162-5/+7
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* all: use hold/unhold instead of ref/unrefJonny Lamb2011-03-142-2/+2
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* all: use specific to/from when referring to contacts in stanzas nowJonny Lamb2011-03-142-4/+4
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* gibber-xmpp-connection: removedJonny Lamb2011-03-029-810/+2
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* gibber-iq-helper: removedJonny Lamb2011-03-026-933/+0
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* gibber-xmpp-connection-listener: removedJonny Lamb2011-03-025-394/+0
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* bytestream-oob: stop using GibberXmppConnectionsJonny Lamb2011-03-021-155/+210
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* bytestream-ibb: stop using GibberXmppConnectionsJonny Lamb2011-03-021-104/+137
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* file transfers: stop using the XCMJonny Lamb2011-03-024-105/+217
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* Migrate from 'check' to glib tests.Stef Walter2011-02-1615-597/+515
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=34341
* gibber: remove node and stanza testsJonny Lamb2011-02-095-320/+0
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* gibber: remove GibberXmppNode wrapperJonny Lamb2011-02-0921-261/+172
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* gibber: remove GibberXmppStanza wrapperJonny Lamb2011-02-0929-448/+334
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* gibber_file_transfer_new_from_stanza and friends: raise a GErrorSimon McVittie2010-11-014-18/+72
|