Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | remove unused assignations | Guillaume Desmottes | 2014-06-03 | 1 | -2/+0 |
| | |||||
* | bytestream_factory_negotiate_stream(): don't pass stream id to callbacks | Will Thompson | 2012-12-06 | 1 | -1/+1 |
| | | | | None of them use it, so… | ||||
* | bytestream_factory_negotiate_stream(): remove return value | Will Thompson | 2012-12-06 | 1 | -6/+2 |
| | | | | It's always TRUE, so it's unneeded. | ||||
* | bytestream_factory_negotiate_stream(): use send_iq_async | Will Thompson | 2012-12-06 | 1 | -22/+18 |
| | | | | | This clarifies that this function can never fail, which can be the next thing we clean up… | ||||
* | bytestream-factory: stop NIHing TpWeakRef | Will Thompson | 2012-12-06 | 1 | -34/+14 |
| | | | | | Step one in cleaning up gabble_bytestream_factory_negotiate_stream() is to simplify its context structure. | ||||
* | Use meta-headers for everything | Simon McVittie | 2012-05-30 | 1 | -1/+2 |
| | | | | | Reviewed-by: Xavier Claessens <xavier.claessens@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=49384 | ||||
* | Stop using tp_handle_ref/unref | Xavier Claessens | 2012-05-10 | 1 | -5/+0 |
| | |||||
* | Update Wocky snapshot for One Big Header. | Will Thompson | 2012-02-06 | 1 | -1/+1 |
| | | | | https://bugs.freedesktop.org/show_bug.cgi?id=27489 | ||||
* | Replace trivial uses of lm_message_node_get_child_with_namespace | Will Thompson | 2012-01-31 | 1 | -18/+17 |
| | | | | | These are the cases where it was relatively quickly apparent to me that we only needed a direct child, not a deeper descendent. | ||||
* | bytestream-factory: move to WockyNodeIter | Will Thompson | 2012-01-31 | 1 | -34/+25 |
| | |||||
* | Remove vestigial Loudmouth headers and build system | Will Thompson | 2012-01-27 | 1 | -1/+0 |
| | |||||
* | Remove LmHandlerResult | Will Thompson | 2012-01-27 | 1 | -6/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | The callback type for _gabble_connection_send_with_reply returned one of these. All instances, bar two, returned LM_HANDLER_RESULT_REMOVE_MESSAGE, which makes sense, because if you send an IQ you had better be prepared to handle the reply. When I removed lm_connection_send_with_reply(), I stopped _gabble_connection_send_with_reply() paying attention to the return value, with no apparent ill effects. The two which returned LM_HANDLER_RESULT_ALLOW_MORE_HANDLERS were: • the disco pipeline's reply handler, in the case where the request is no longer in the pipeline (such as in a timeout). I checked, and as far as I can tell nothing is trying to scrape any information out of zombie disco replies. • the request pipeline's reply handler, in the same case. I couldn't be bothered to check for this, but I don't think it will pose any ill effects because normally the handler is the highest-priority callback, so anyone trying to catch these would not catch the ones which were not cancelled… which seems unlikely. | ||||
* | BytestreamFactory: stop using LmMessageHandler | Will Thompson | 2012-01-27 | 1 | -117/+101 |
| | |||||
* | Delete LmMessage{,Type,SubType} typedefs | Will Thompson | 2012-01-27 | 1 | -36/+36 |
| | |||||
* | Remove lm_message_get_[sub_]type. | Will Thompson | 2012-01-27 | 1 | -7/+17 |
| | | | | | Wocky is a little less convenient here, but wocky_stanza_extract_errors() comes to the rescue. | ||||
* | Remove lm_message_build[_with_subtype] | Will Thompson | 2012-01-27 | 1 | -26/+26 |
| | | | | | | | | | | The build specs aren't *quite* compatible. lm_message_build()'s '(' accepted two arguments: tag name, and content (usually ""). So: '(', "foo", "" becomes '(', "foo" '(', "foo", "bar" becomes '(', "foo", '$', "bar" I didn't actually do this with sed as a result. | ||||
* | Expunge lm_message_ref and lm_message_unref. | Will Thompson | 2012-01-26 | 1 | -1/+1 |
| | | | | And also a couple of uses of lm_message_get_node(). | ||||
* | Merge branch 'master' into BYE-BYE-LOUDMOUTH | Will Thompson | 2012-01-26 | 1 | -6/+9 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/connection.c src/connection.h src/ft-manager.c src/jingle-content.c src/jingle-factory.c src/jingle-session.c src/message-util.c src/muc-channel.c src/muc-channel.h | ||||
| * | Add configure option to disable file transfer support. | Andre Moreira Magalhaes (andrunko) | 2011-12-20 | 1 | -0/+2 |
| | | |||||
| * | Remove gabble_decode_jid in favour of wocky_decode_jid. | Andre Moreira Magalhaes (andrunko) | 2011-11-17 | 1 | -2/+3 |
| | | |||||
| * | Use _unref instead of _free _destroy when possible.unref | Xavier Claessens | 2011-11-16 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | | | | | | 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/ | ||||
* | | Remove GabbleXmppError. | Will Thompson | 2011-05-03 | 1 | -40/+43 |
| | | | | | | | | There is a FIXME buried in here … but the tests pass. | ||||
* | | stop using LmMessageNode wrapper | Jonny Lamb | 2011-05-02 | 1 | -60/+60 |
| | | | | | | | | | | | | WockyNode is the future. Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> | ||||
* | | use the new xmlns and xml:lang build tags | Jonny Lamb | 2011-05-02 | 1 | -10/+10 |
|/ | | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> | ||||
* | Rename to WockyStanza, WockyNode and related changes | Sjoerd Simons | 2010-04-20 | 1 | -41/+49 |
| | |||||
* | Remove the proxy from the potential proxies list if the result is invalid | Sjoerd Simons | 2010-04-06 | 1 | -2/+2 |
| | |||||
* | Use g_resolver_lookup_by_name instead of getaddrinfo in GibberTcpTransport | Sjoerd Simons | 2010-04-06 | 1 | -8/+13 |
| | |||||
* | Don't accept an open ibb iq if we didn't accept the bytestream yet | Sjoerd Simons | 2009-12-18 | 1 | -0/+12 |
| | |||||
* | Make sure we only call the callback if it's still alive | Sjoerd Simons | 2009-12-18 | 1 | -4/+3 |
| | |||||
* | plug various leaks | Dafydd Harries | 2009-12-18 | 1 | -1/+1 |
| | |||||
* | remove useless \n | Guillaume Desmottes | 2009-12-07 | 1 | -1/+0 |
| | |||||
* | fix typo | Guillaume Desmottes | 2009-12-07 | 1 | -1/+1 |
| | |||||
* | remove proxy from the list if we receive an IQ error | Guillaume Desmottes | 2009-12-07 | 1 | -0/+24 |
| | |||||
* | use a timestamp instead of a timer to manage the lifetime of the proxies list | Guillaume Desmottes | 2009-12-07 | 1 | -30/+11 |
| | |||||
* | proxies_disco_cb: log a debug msg if disco failed | Guillaume Desmottes | 2009-12-07 | 1 | -1/+4 |
| | |||||
* | Always recycle the socks5_potential_proxies list | Guillaume Desmottes | 2009-12-07 | 1 | -16/+5 |
| | | | | | | We ensure that we won't query twice the same proxy by clamping the number of proxy needed to the length of the list of the potential proxies. This add the nice side effect of prioritizing a different proxy every time. | ||||
* | proxies_disco_cb: Replace the old list instead of adding elements to it | Guillaume Desmottes | 2009-12-07 | 1 | -5/+8 |
| | |||||
* | add_proxy_to_list: free the oldest proxy once removed | Guillaume Desmottes | 2009-12-07 | 1 | -0/+1 |
| | |||||
* | remove double ';' | Guillaume Desmottes | 2009-12-07 | 1 | -1/+1 |
| | |||||
* | mark the proxies list has expired after 6 hours | Guillaume Desmottes | 2009-12-07 | 1 | -0/+40 |
| | |||||
* | query proxies.telepathy.im if there is no fallback server | Guillaume Desmottes | 2009-12-07 | 1 | -2/+68 |
| | | | | This server returns a list of public proxies that can be used as fallback. | ||||
* | remove the sock5 proxies timer; instead request a new proxy if a reply is wrong | Guillaume Desmottes | 2009-12-07 | 1 | -39/+12 |
| | |||||
* | factor out query_proxies | Guillaume Desmottes | 2009-12-07 | 1 | -25/+35 |
| | |||||
* | don't recycle proxies list if that doesn't make sense | Guillaume Desmottes | 2009-12-07 | 1 | -2/+14 |
| | |||||
* | recycle the list of potential proxies | Guillaume Desmottes | 2009-12-07 | 1 | -6/+18 |
| | | | | | This avoid to get stuck with the latest proxies added in the cache once we queried all the potential proxies. | ||||
* | gabble_bytestream_factory_get_socks5_proxies: stop randomizing proxies | Guillaume Desmottes | 2009-12-07 | 1 | -4/+0 |
| | | | | The newer proxies have to be put first in the SOCKS5 stanza. | ||||
* | streamhost are identified by their host | Guillaume Desmottes | 2009-12-07 | 1 | -11/+2 |
| | | | | | | The SOCKS5 reply from the other peer only contains the jid of the streamhost. We can't have more than one proxy using the same jid as then we won't be able to know which one is used by the peer. | ||||
* | remove oldest proxy from the cache | Guillaume Desmottes | 2009-12-07 | 1 | -0/+15 |
| | |||||
* | move existing proxy to the head of the list when they are re-discovered | Guillaume Desmottes | 2009-12-07 | 1 | -6/+13 |
| | |||||
* | gabble_bytestream_factory_query_socks5_proxies: always request at least one ↵ | Guillaume Desmottes | 2009-12-07 | 1 | -5/+8 |
| | | | | | | proxy This ensure to always have at least one fresh proxy in the cache. |