summaryrefslogtreecommitdiff
path: root/plugins
AgeCommit message (Collapse)AuthorFilesLines
2014-09-02add python 3 support to telepathy-gabble-xmpp-consoleBohuslav Slavek Kabrda1-8/+8
https://bugs.freedesktop.org/show_bug.cgi?id=80803
2013-10-15console/channel-manager: include telepathy-glib-dbusGuillaume Desmottes1-0/+2
2013-10-14console plugin: use a better-namespaced global variableSimon McVittie2-5/+5
2013-10-14Merge remote-tracking branch 'wjt/xmpp-console'Simon McVittie10-324/+722
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=66085 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Conflicts: plugins/console/channel.c
2013-10-11include telepathy-glib-dbus.hGuillaume Desmottes2-0/+2
2013-08-28console UI: don't bother preparing the channelWill Thompson1-6/+0
Simon said: > + # We only prepare the channel so that ::invalidated will be emitted > + # when it closes. > > Is this really necessary? I would expect that channels would invalidate > anyway. And he's right: the channel proxy does invalidate without being prepared if the connection goes away, or if someone else calls Close() on the channel.
2013-08-28console: hold a weak ref to GabblePluginConnectionWill Thompson2-10/+19
As Simon suggested on <https://bugs.freedesktop.org/show_bug.cgi?id=66085#c1>: > + /* Not reffing this: the connection owns all channel managers, so it > + * must outlive us. Taking a reference leads to a cycle. > + */ > + self->plugin_connection = g_value_get_object (value); > > Weak ref, or drop it on DISCONNECTED state?
2013-06-23console: give channels more meaningful object pathsWill Thompson1-0/+8
2013-06-23console: close channels on disconnectWill Thompson1-2/+52
Pretty much all of the 268 lines of channel-manager.c is boilerplate :(
2013-06-23console UI: use channel, not sidecarWill Thompson1-81/+75
I was going to complain about how this was worse than just using the raw D-Bus API via GDBus, but I noticed that the line count went down, so…
2013-06-23console: rename ConsoleSidecar to ConsoleChannelWill Thompson6-102/+102
2013-06-23console: turn it into an actual channelWill Thompson4-95/+129
2013-06-23console: add a channel managerWill Thompson4-0/+194
I am already losing the will to live at the thought of implementing the actual requesting and closing bits.
2013-06-23console: make the sidecar subclass TpBaseChannelWill Thompson2-37/+16
2013-06-23console: split plugin into one file per classWill Thompson7-169/+259
2013-06-23console UI: throw up a message when the connection diesWill Thompson1-1/+25
2013-06-23console UI: list possible account identifiersWill Thompson1-4/+19
2013-06-23console UI: quit cleanly if connection has gone awayWill Thompson1-1/+5
The console UI doesn't watch for NameOwnerChanged to notice the connection going away from beneath it. No big deal, it's a tool for nerds, but if you tried to quit it, it would not close cleanly: the call to self.snoopy.teardown() (which tries to turn off the connection dumping all stanzas over D-Bus) throws an exception, and so Gtk.main_quit() never got called.
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.