summaryrefslogtreecommitdiff
path: root/salut
AgeCommit message (Collapse)AuthorFilesLines
2013-01-04Require telepathy-glib 0.20, and forbid functions deprecated in that versionSimon McVittie2-2/+2
2013-01-04Be single-include-compliantSimon McVittie3-6/+3
2012-03-26Replace plugindir with an AC_ARG_VAR so it can be passed to configureSimon McVittie2-2/+2
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
2012-03-26Install non-ABI-stable libraries used by plugins to a private directorySimon McVittie2-1/+3
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
2012-03-16SalutPluginInitializeImpl: Replace the protocol ctor callback with a vtable ↵Olli Salli1-2/+9
of callbacks
2012-03-16Remove SalutPluginContact and salut_send_ll_pep_eventOlli Salli3-90/+1
They've been superseded by stuff in Wocky
2012-03-15Add wocky to LIBS salut plugin API pkgconfig filesOlli Salli2-2/+2
Because it's not yet a proper library with its own pkgconfig file
2012-03-15Remove protocol.h from the plugin APIOlli Salli2-92/+0
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.
2012-03-15Completely eradicate the dependency to salut_protocol_new from the plugin libOlli Salli1-1/+2
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.
2012-03-15Move plugin library-specific code from util.c into its own file, toAlvaro Soliverez3-2/+61
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
2012-03-15Use a callback to get custom SalutProtocol in the plugin library, soAlvaro Soliverez1-1/+8
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
2012-02-17plugins: Create a new library libsalut-plugins containing the plugin APISiraj Razick2-0/+2
The patch moves the symbols required by plugins, into a new library libsalut-plugins.la
2012-02-17salut-connection: Merge src/connection.h and salut/connection.hSiraj Razick3-57/+1
SalutConnection is not used by plugins anymore so this patch merges src/connection.h and salut/connection.h into a single file.
2012-02-17plugins: Replace SalutConnection with SalutPluginConnection in pluginsSiraj Razick1-5/+5
This patch removes the use of SalutConnection in plugins and code related to loading and defining the plugin API.
2012-02-17plugins: Introduce SalutPluginConnectionInterface interfaceSiraj Razick2-2/+72
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.
2012-02-17plugins: Change the plugin API to create_sidecar_async and create_sidecar_finishSiraj Razick1-2/+12
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.
2012-02-06Update Wocky snapshot for one big header.Will Thompson4-5/+5
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>
2011-04-28capabilities: fix includesJonny Lamb1-1/+1
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2011-04-28capabilities-set: rename to capability-setJonny Lamb2-1/+1
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2011-04-22caps-channel-manager: add data form argument to represent_clientJonny Lamb1-2/+4
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2011-04-22pep: make salut_send_ll_pep_event part of public APIJonny Lamb2-1/+31
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2011-04-12connection: add get_name() functionJonny Lamb1-0/+2
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2011-04-12connection: add get_session() functionJonny Lamb1-0/+4
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2011-03-21Correctly use im-local-xmpp as the icon name.Will Thompson1-1/+1
6db2272 broke this.
2011-03-21Merge branch 'sidetzars'Jonny Lamb4-1/+160
Conflicts: extensions/all.xml salut/Makefile.am src/salut-connection.c Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2011-03-18capabilities: move to public APIJonny Lamb2-1/+75
This lets plugins build again. :-) Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2011-03-18salut: remove duplicate pkg-config fileJonny Lamb2-2/+4
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2011-03-18salut: make caps-channel-manager and capabilities-set public salut APIJonny Lamb3-1/+195
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2011-03-16sidecar: update copyright yearsJonny Lamb1-1/+1
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2011-03-15plugins: add sidecar support to pluginsJonny Lamb3-1/+112
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2011-03-15salut: define SalutConnection so it can be referred to in pluginsJonny Lamb2-0/+48
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2011-03-02plugin: clarify the ownership of the returned arrayJonny Lamb1-3/+3
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2011-02-08salut: include wocky as part of the salut plugin APIJonny Lamb1-1/+1
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2011-02-08plugin: fix up pkg-config filesJonny Lamb2-9/+7
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2011-02-08salut: move protocol.h to salut's public APIJonny Lamb2-1/+93
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2011-02-07plugin: add initialize method to give access to the CMJonny Lamb1-0/+14
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2011-02-07plugin: add padding and API versionJonny Lamb1-3/+13
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2011-02-07plugin: clarify the return type of CreateChannelManagersImplJonny Lamb1-0/+3
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2011-02-07plugin: add a create_channel_managers plugin memberJonny Lamb1-0/+15
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2011-02-07plugins: start defining SalutPlugin interfaceJonny Lamb4-0/+115
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>