summaryrefslogtreecommitdiff
path: root/plugins
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-09-11Merge branch 'telepathy-gabble-0.16'Simon McVittie1-2/+2
Conflicts: NEWS configure.ac src/conn-addressing.c src/jingle-info.c src/media-channel-hold.c src/message-util.c src/muc-tube-dbus.c src/muc-tube-stream.c src/olpc-activity.c src/presence-cache.c src/protocol.c src/room-config.c
2012-05-30Use meta-headers for everythingSimon McVittie1-1/+1
Reviewed-by: Xavier Claessens <xavier.claessens@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49384
2012-05-17configure: ignore post 0.18 deprecations so we can build against tp-glib masterJonny Lamb2-3/+4
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 McVittie3-14/+14
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49596 Reviewed-by: Xavier Claessens <xavier.claessens@collabora.co.uk>
2012-04-04add missing config.h includesGuillaume Desmottes3-5/+5
2012-03-23Replace plugindir with an AC_ARG_VAR so it can be passed to configureSimon McVittie1-4/+2
This lets you configure the plugin directory: ./configure pluginexecdir='${libdir}/my-gabble-plugins' The directory-name variable has 'exec' in it because Automake installs unknown directory names with 'exec' in their variable name during "make install-exec", and other unknown directory names during "make install-data". Bug: https://bugs.freedesktop.org/show_bug.cgi?id=46417 Reviewed-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2012-03-09Link plugins in the same way on Unix as on WindowsSimon McVittie1-2/+0
Reviewed-by: Olli Salli <olli.salli@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=46417
2012-02-17test-plugin: Remove the duplicate TpBaseConnectionSiraj Razick1-2/+1
Gabble and Salut Plugin API was updated to remove the dupliate TpBaseconnection from create_channel_managers. This patch updates the plugin-base to match the API change
2012-02-06Windows specfic changes to produce plugins as dll'sSiraj Razick1-16/+29
Using -module doesn't produce .dll files when compiling for windows These changes enable us to output .dll files for plugins. https://bugs.freedesktop.org/show_bug.cgi?id=44649
2012-02-06fd.o#44649 - Gabble plugin API symbols should be factored out to a separate ↵Siraj Razick4-20/+23
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 Razick3-18/+77
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 Thompson6-13/+6
https://bugs.freedesktop.org/show_bug.cgi?id=27489
2012-02-01Revert "Merge remote-tracking branch 'siraj/plugin-api-change'"Jonny Lamb3-77/+18
This reverts commit bf805ba0b2ecced81e5c2830a79d021a42da91a7, reversing changes made to 1296a2f5ce46e77787ca42eadb1c2ca4a957a09b.
2012-02-01Revert "Merge remote-tracking branch 'siraj/windows-compile-fix'"Jonny Lamb5-52/+36
This reverts commit a687785628216f8f73c699096e9aae4a07b811c6, reversing changes made to bf805ba0b2ecced81e5c2830a79d021a42da91a7.
2012-02-01Merge remote-tracking branch 'siraj/windows-compile-fix'Jonny Lamb5-36/+52
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 Lamb3-18/+77
Conflicts: lib/loudmouth/Makefile.am Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2012-02-01Windows specfic changes to produce plugins as dll'sSiraj Razick1-16/+29
Using -module doesn't produce .dll files when compiling for windows These changes enable us to output .dll files for plugins. https://bugs.freedesktop.org/show_bug.cgi?id=44649
2012-01-25fd.o#44649 - Gabble plugin API symbols should be factored out to a separate ↵Siraj Razick4-20/+23
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 Razick3-18/+77
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 Razick3-18/+77
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-05telepathy-gabble-xmpp-console: no need to import pygtkGuillaume Desmottes1-3/+0
In gobject-introspection we trust. https://bugs.freedesktop.org/show_bug.cgi?id=44056
2011-11-21Merge branch 'xmpp-console'Will Thompson5-0/+1192
Fixes: <https://bugs.freedesktop.org/show_bug.cgi?id=xmpp-console> Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
2011-11-21console plugin: add a FIXME re. client dyingWill Thompson1-0/+7
2011-11-18console UI: turn off monitoring when we quitWill Thompson1-8/+22
2011-11-18console UI: allow passing account identifiersWill Thompson1-7/+39
2011-11-18console UI: fix handling errors from SendIQWill Thompson1-3/+3
2011-11-18console UI: add a page for sending arbitrary stanzasWill Thompson1-1/+50
2011-11-18console UI: factor out spinner wrapper notebook thingWill Thompson1-18/+30
2011-11-18console plugin: add SendStanza methodWill Thompson1-8/+99
2011-11-18console UI: add stanza monitor paneWill Thompson1-2/+52
2011-11-18console UI: split out UI helpersWill Thompson1-40/+66
The traffic monitor window will need to show nicely-formatted stanzas, and it will also need a grid with the same spacing.
2011-11-18console UI: pack IQ page into a notebook.Will Thompson1-1/+8
2011-11-18console UI: refactor IQ interface into a classWill Thompson1-34/+41
This just pulls out the entire Gtk.Grid containing the UI for sending an IQ into its own subclass of Gtk.Grid, paving the way for another page in the UI for watching the stanzas fly past.
2011-11-18console plugin: implement received/sent signalsWill Thompson2-3/+146
Ideally the SpewStanzas property would become False when the client which asked for it falls off the bus. Later...
2011-11-18xmpp-console: add some better error reportingWill Thompson1-4/+21
2011-11-18xmpp-console: Readd a crucial feature from 0.12.5.Will Thompson1-0/+21
2011-11-18xmpp-console: show a spinner while waiting for a replyWill Thompson1-3/+24
2011-11-18xmpp-console: add radio buttons for get vs. setWill Thompson1-5/+13
2011-11-18xmpp-console: split up entry-adding functionWill Thompson1-1/+5
I'd like to use a combobox or something for the get/set selection.
2011-11-18Add XMPP console UIWill Thompson2-0/+161
It is only installed if the plugin is installed.
2011-11-18test plugin: include version numberWill Thompson1-0/+2
2011-11-18Add an XMPP console sidecarWill Thompson3-0/+520
It currently only supports sending an arbitrary IQ and getting the reply. Obviously this is for developer use only.
2011-11-16Use _unref instead of _free _destroy when possible.unrefXavier Claessens1-1/+1
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/
2011-10-28Install the test plugin for the installed testsAlban Crequy1-5/+21
2011-09-02test plugin: make TestChannelManager implement CapsChannelManagerJonny Lamb1-2/+74
...and give back a new data form in the represent_client function. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2011-05-02Merge branch 'caps-hash'Jonny Lamb1-4/+6
2011-04-13test plugin: don't ref connection from channel managerWill Thompson1-13/+4
If the test plugin's channel manager holds a reference to the connection, we have a cycle: the connection owns a reference to each channel manager. TpBaseConnection only releases its channel managers when it's disposed, which in this case is never. (All the other channel managers do the right thing.) Fixes: <https://bugs.freedesktop.org/show_bug.cgi?id=36179>
2011-04-06test plugin: make RCC conform to the spec.Will Thompson1-2/+4
The spec requires that the fixed properties of any requestable channel class include ChannelType and TargetHandleType. (Actually, we violate the latter for ContactSearch, but the former seems like a pretty reasonable thing to conform to.) The test plugin did not respect this: in fact, none of the fixed or allowed properties were valid D-Bus property names. Anyway, some of the Jingle tests rely on ChannelType being present in every channel class. This seems basically reasonable to me. I did not catch this in my review.
2011-04-04Merge branch 'plugin-channel-managers'Jonny Lamb2-0/+182