summaryrefslogtreecommitdiff
path: root/gabble
AgeCommit message (Collapse)AuthorFilesLines
2013-06-11Officially depend on GLib 2.32Simon McVittie2-2/+2
In practice we depend on it anyway, via telepathy-glib 0.19.9. Also update the telepathy-glib dependency in the .pc files to match configure.ac. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=65290 Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Reviewed-by: Xavier Claessens <xavier.claessens@collabora.co.uk>
2012-11-09caps-channel-manager: Drop reset_caps, which is now unusedDebarshi Ray1-1/+0
Fixes: https://bugs.freedesktop.org/56181
2012-10-21connection: Don't reset the capabilities in UpdateCapabilitiesDebarshi Ray1-3/+0
This ensures that a running Gabble process will always create Call1 channels once it has seen such a client in its lifetime. Remove gabble_caps_channel_manager_reset_capabilities and its implementation in GabbleMediaFactory, since it is not used anymore. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=56181 Reviewed-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
2012-09-11Merge branch 'telepathy-gabble-0.16'Simon McVittie1-0/+1
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-09-11Add Google camera-v1 as a first-class caps bundleSimon McVittie1-0/+1
This is partly a point of principle - given any caps bundle that we have ever advertised support for, we should be prepared to define when asked - but mainly a workaround for the iChat bug mentioned in commit af55ea3d. If we return an error, it will keep disco'ing us repeatedly in a loop. This leaves us with the problem of finding out what the bundle contains. In Google's usage it is only its name that is important (ignoring that XEP-0115 explicitly makes bundle names opaque), but replying to disco requests for it requires us to be able to turn it into a set of 0 or more capability URIs. Because of the Google server bug mentioned in commit cd0da0a8, we can't just ask a Google client, because they're all on Google servers, so they can't usefully be disco'd. We assume here that it behaves like the voice-v1 and video-v1 bundles in containing exactly one URI, and that that URI corresponds to the bundle name in the same way. Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Reviewed-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=54634
2012-06-02Fix for initiating a video call from an Android tablet.Marcus Lundblad1-0/+2
Reviewed-by: Sjoerd Simons <sjoerd@greynoise.nl> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=36998
2012-06-02Fix for initiating a video call from an Android tablet.Marcus Lundblad1-0/+2
Reviewed-by: Sjoerd Simons <sjoerd@greynoise.nl> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=36998
2012-05-30Use meta-headers for everythingSimon McVittie4-8/+4
Reviewed-by: Xavier Claessens <xavier.claessens@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49384
2012-03-23Replace plugindir with an AC_ARG_VAR so it can be passed to configureSimon McVittie2-3/+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-23Install non-ABI-stable libraries used by plugins to a private directorySimon McVittie2-1/+3
This avoids having Gabble and Salut, or old Gabble and a future stable Wocky, fight over the libwocky.so symlink. If you're building for a tightly controlled platform where Gabble and Salut are definitely using the same Wocky version, you can put them in the normal libdir with ./configure pluginexeclibdir='${libdir}' or (when Salut has been updated with this change) make them share a private library directory: ./configure pluginexeclibdir='${libdir}/telepathy/ytstenut-1.0' Bug: https://bugs.freedesktop.org/show_bug.cgi?id=46417 Reviewed-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2012-03-23telepathy-gabble.pc: link to WockySimon McVittie1-1/+1
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=46417 Reviewed-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2012-02-21Distribute headers more normally, and stop trying to distribute gabble/debug.hSimon McVittie1-3/+10
There is no gabble/debug.h. The only effect of putting a .h file in SOURCES is to get it included in the distribution tarball, so this wasn't visible until we tried to make a release, and apparently nobody runs distcheck any more or something.
2012-02-20Merge remote-tracking branch 'siraj/plugin-api-update'Olli Salli1-4/+2
Reviewed-by: Olli Salli (oggis) <olli.salli@collabora.co.uk>
2012-02-17plugins: Remove the dupliate TpBaseConnection from create_channel_managersSiraj Razick1-5/+2
create_channel_managers already passes a GabblePluginConnection which can be casted into TpBaseConnection. So removing the duplicate TpBaseConnection pointer from the API
2012-02-06Windows specfic changes to produce plugins as dll'sSiraj Razick2-0/+2
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-5/+139
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-3/+13
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 Thompson4-4/+4
https://bugs.freedesktop.org/show_bug.cgi?id=27489
2012-02-01Revert "Merge remote-tracking branch 'siraj/plugin-api-change'"Jonny Lamb1-13/+3
This reverts commit bf805ba0b2ecced81e5c2830a79d021a42da91a7, reversing changes made to 1296a2f5ce46e77787ca42eadb1c2ca4a957a09b.
2012-02-01Revert "Merge remote-tracking branch 'siraj/windows-compile-fix'"Jonny Lamb7-141/+93
This reverts commit a687785628216f8f73c699096e9aae4a07b811c6, reversing changes made to bf805ba0b2ecced81e5c2830a79d021a42da91a7.
2012-02-01Windows specfic changes to produce plugins as dll'sSiraj Razick2-0/+2
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 Razick5-93/+139
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-3/+13
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-12-16Compute the caps verification string correctly with dataforms in pluginsAlban Crequy1-0/+4
https://bugs.freedesktop.org/show_bug.cgi?id=43889
2011-12-07Add gabble_connection_add_sidecar_own_caps_full() with dataformsAlban Crequy1-0/+5
https://bugs.freedesktop.org/show_bug.cgi?id=43588
2011-11-22Fix missing capabilities.h and caps-channel-manager.hAlban Crequy1-0/+2
The problem was introduced by this commit: |commit 587da15932d178ad289e81b039dcabb4e90984c5 |Author: Jonny Lamb <jonny.lamb@collabora.co.uk> |Date: Thu Sep 1 14:19:52 2011 +0100 | | gabble: add capabilities.h and caps-channel-manager.h as public API | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2011-09-28Merge branch 'moar-caps'Jonny Lamb4-0/+206
2011-09-07connection: add more public helper functions for getting capsJonny Lamb1-0/+7
This is useful so in a Gabble plugin you can get the TpBaseContactList and then look at each contact's caps for whatever reason. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2011-09-07connection: add pick_best_resource_for_caps functionJonny Lamb1-0/+6
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2011-09-07connection: add get_jid_for_caps utility functionJonny Lamb1-0/+5
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2011-09-07connection: add get_session public functionJonny Lamb1-0/+3
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2011-09-07connection: make get_full_jid part of the public APIJonny Lamb1-0/+2
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2011-09-01gabble: add capabilities.h and caps-channel-manager.h as public APIJonny Lamb3-0/+182
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2011-05-02Merge branch 'caps-hash'Jonny Lamb3-52/+0
2011-02-14plugin: add create_channel_managers functionJonny Lamb1-0/+15
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2011-01-24disco-identity: removeJonny Lamb3-52/+0
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
2010-10-05capabilities: prune some unnecessary inclusionsSimon McVittie2-3/+1
2010-08-29Add a function to dump a diff of two cap setsWill Thompson1-0/+3
2010-08-26gabble_plugin_get_custom_presence_statuses: pass arrays directly instead of ↵Senko Rasic1-1/+1
using GLists
2010-08-26plugin(-loader).[ch]: support for adding custom statuses and linking them ↵Senko Rasic1-0/+28
with privacy lists
2010-08-03gabble_set_tp_conn_error_from_wocky: be sensitive to previous statusSimon McVittie1-0/+1
This moves the domain-specific special case from connection.c:remote_error_cb to more generic error-handling code. I'd previously thought that a stream <conflict/> before connecting successfully would be a WOCKY_CONNECTOR_ERROR, but that turns out not to be true.
2010-06-23gabble_set_tp_conn_error_from_wocky: map Wocky errors to ↵Simon McVittie1-0/+5
TpConnectionStatusReason + TpError
2010-06-08Merge branch 'plugins'Will Thompson11-18/+340
Reviewed-by: André Moreira Magalhães <andre.magalhaes@collabora.co.uk> Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
2010-06-08Warn if returned caps hashes aren't used.Will Thompson2-2/+2
2010-06-08plugin API: Use const qualifier for read-only params in ↵Andre Moreira Magalhaes (andrunko)1-2/+2
gabble_connection_update_sidecar_capabilities.
2010-06-08plugin API: gabble_connection_sidecar_add_own_caps now adds a default ↵Andre Moreira Magalhaes (andrunko)2-3/+3
identity if none is passed. Moved the code to add a default identity in case none is provided from gabble_caps_hash_compute to gabble_connection_sidecar_add_own_caps.
2010-06-07plugin API: gabble_connection_add_sidecar_own_caps now compute the hash and ↵Andre Moreira Magalhaes (andrunko)1-2/+1
returns it. gabble_connection_add_sidecar_own_caps now computes the hash and returns it instead of receiving the hash as a param, as all needed info used to compute the hash is already received as params.
2010-06-04plugin API: Added namespaces.h to repository.Andre Moreira Magalhaes (andrunko)1-0/+27
2010-06-04plugin API: Improved API for array of GabbleDiscoIdentity.Andre Moreira Magalhaes (andrunko)1-0/+1
Added gabble_disco_identity_array_new which creates a GPtrArray and set it's free element func. Also set the free element func for arrays copied using gabble_disco_identity_array_free.
2010-06-04plugin API: Fixed copyright to 2010 in disco-identity.h.Andre Moreira Magalhaes (andrunko)1-2/+2