Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
Similar to https://bugs.freedesktop.org/show_bug.cgi?id=46417 in Gabble.
This lets you configure the plugin directory:
./configure pluginexecdir='${libdir}/my-salut-plugins'
Reviewed-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=47774
|
|
Similar to https://bugs.freedesktop.org/show_bug.cgi?id=46417 in Gabble.
Reviewed-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=47774
|
|
of callbacks
|
|
They've been superseded by stuff in Wocky
|
|
Because it's not yet a proper library with its own pkgconfig file
|
|
We can't include anything in it in the plugin support library, so it's fairly useless there. Plugins
have an opportunity to create custom protocols by using the function pointer given to them in the
initialize() function.
|
|
plugin.c is part of the plugin lib, so we can't mention salut_protocol_new there either. Therefore
it has to be referenced all the way in the plugin loader, which is in salut core.
|
|
prevent dependency problems
As part of this, a new SalutPluginContactInterface had to be created to
access contact capabilities that were needed for the plugin utils.
Accessing SalutContact directly would bring most of salut core in, so a
GInterface is used, similar to what is done with SalutPluginConnection
|
|
that plugin code does not depend on salut core code.
The ytstenut plugin creates a custom SalutProtocol in its initialize()
method but salut_protocol_new recursively depends on loads of salut symbols
through its use of salut_protocol_get_type(), so replaced direct binding to it
with a callback
|
|
The patch moves the symbols required by plugins, into a new library
libsalut-plugins.la
|
|
SalutConnection is not used by plugins anymore so this patch merges
src/connection.h and salut/connection.h into a single file.
|
|
This patch removes the use of SalutConnection in plugins and code
related to loading and defining the plugin API.
|
|
The library defines a new SalutPluginConnectionInterface which will be
implemented by SalutConnection. And plugins can use SalutPluginConnection
instead of using SalutConnection directly. This helps us to hide
SalutConnection symbols in plugins.
|
|
All Salut plugins should implement these two methods hereafter. This
patch also updates all the internal plugins to use this new API
This way the host doesn't need to call finish on GAsyncResults that are
created by the plugins.
|
|
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>
|
|
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
|
|
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
|
|
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
|
|
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
|
|
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
|
|
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
|
|
6db2272 broke this.
|
|
Conflicts:
extensions/all.xml
salut/Makefile.am
src/salut-connection.c
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
|
|
This lets plugins build again. :-)
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
|
|
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
|
|
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
|
|
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
|
|
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
|
|
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
|
|
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
|
|
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
|
|
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
|
|
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
|
|
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
|
|
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
|
|
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
|
|
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
|
|
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
|