summaryrefslogtreecommitdiff
path: root/plugins/console.c
AgeCommit message (Collapse)AuthorFilesLines
2012-11-14Update Wocky snapshot to validate stanza namespacesWill Thompson1-12/+7
This breaks the console plugin, which checks if an entered stanza is of a known type, but <message xmlns=''> is not the same as <message xmlns='jabber:client'> so Wocky now says the former has type UNKNOWN. The plugin already had some code to fix up empty namespaces, but it's after the type check. For a better fix, I added API to give non-streaming WockyXmppReaders a default namespace, and used it here. In the course of fixing this, I found that telling the console to send this: <message> <body> hai </body> </message> would send this: <message xmlns='jabber:client'> <body xmlns=''> hai </body> </message> which is wrong: the empty namespace was not being fixed up recursively. This is fixed as a side-effect of the default-namespace property, but this patch also adds a test. https://bugs.freedesktop.org/show_bug.cgi?id=57016
2012-05-17configure: ignore post 0.18 deprecations so we can build against tp-glib masterJonny Lamb1-2/+2
Gabble still uses emit_new_channels and tp_handle_{,un}ref, but for now we can ignore it with this. config.h had to be included in the right place for a lot of source files. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2012-05-07Use TP_ERROR instead of deprecated TP_ERRORSSimon McVittie1-6/+6
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49596 Reviewed-by: Xavier Claessens <xavier.claessens@collabora.co.uk>
2012-02-06fd.o#44649 - Gabble plugin API symbols should be factored out to a separate ↵Siraj Razick1-2/+2
library This patch refactors gabble connection by introducing a new GInterface which the plugins will link agaist. And GabbleConnection implements the new Interface. https://bugs.freedesktop.org/show_bug.cgi?id=44649
2012-02-06Change the plugin API to create_sidecar_async and create_sidecar_finishSiraj Razick1-6/+25
All gabble plugins should implement these two methods hereafter. This patch also updates all the internal plugins to use this new API. https://bugs.freedesktop.org/show_bug.cgi?id=44331
2012-02-06Update Wocky snapshot for One Big Header.Will Thompson1-5/+1
https://bugs.freedesktop.org/show_bug.cgi?id=27489
2012-02-01Revert "Merge remote-tracking branch 'siraj/plugin-api-change'"Jonny Lamb1-25/+6
This reverts commit bf805ba0b2ecced81e5c2830a79d021a42da91a7, reversing changes made to 1296a2f5ce46e77787ca42eadb1c2ca4a957a09b.
2012-02-01Revert "Merge remote-tracking branch 'siraj/windows-compile-fix'"Jonny Lamb1-2/+2
This reverts commit a687785628216f8f73c699096e9aae4a07b811c6, reversing changes made to bf805ba0b2ecced81e5c2830a79d021a42da91a7.
2012-02-01Merge remote-tracking branch 'siraj/windows-compile-fix'Jonny Lamb1-2/+2
Conflicts: lib/loudmouth/Makefile.am plugins/console.c src/Makefile.am src/connection.c src/error.c src/plugin-loader.c src/plugin.c Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2012-02-01Merge remote-tracking branch 'siraj/plugin-api-change'Jonny Lamb1-6/+25
Conflicts: lib/loudmouth/Makefile.am Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2012-01-25fd.o#44649 - Gabble plugin API symbols should be factored out to a separate ↵Siraj Razick1-2/+2
library This patch refactors gabble connection by introducing a new GInterface which the plugins will link agaist. And GabbleConnection implements the new Interface. https://bugs.freedesktop.org/show_bug.cgi?id=44649
2012-01-20Change the plugin API to create_sidecar_async and create_sidecar_finishSiraj Razick1-6/+25
All gabble plugins should implement these two methods hereafter. This patch also updates all the internal plugins to use this new API https://bugs.freedesktop.org/show_bug.cgi?id=44331
2012-01-12Change the plugin API to create_sidecar_async and create_sidecar_finishSiraj Razick1-6/+25
All gabble plugins should implement these two methods hereafter. This patch also updates all the internal plugins to use this new API https://bugs.freedesktop.org/show_bug.cgi?id=44331
2011-11-21console plugin: add a FIXME re. client dyingWill Thompson1-0/+7
2011-11-18console plugin: add SendStanza methodWill Thompson1-8/+99
2011-11-18console plugin: implement received/sent signalsWill Thompson1-3/+143
Ideally the SpewStanzas property would become False when the client which asked for it falls off the bus. Later...
2011-11-18Add an XMPP console sidecarWill Thompson1-0/+430
It currently only supports sending an arbitrary IQ and getting the reply. Obviously this is for developer use only.