Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-02-28 | Set XMLStream.socket after the SSL connection is made too | mathieui | |
Fixes SCRAM-SHA-1-PLUS. | |||
2015-02-28 | Change the API to make iq.send() always return a future | mathieui | |
remove coroutine_wrapper, add a future_wrapper (which is only needed when the result stanza can be cached). Update the documentation as well. | |||
2015-02-24 | Update the documentation and examples | mathieui | |
- update most of the examples with slixmpp - change the help channels pointed out in the doc - add a page listing differences from slixmpp and how to use asyncio nicely with slixmpp - fix some in-code rst documentation | |||
2015-02-24 | Fix dns resolution without aiodns | mathieui | |
(use loop.getaddrinfo instead of the blocking version) | |||
2015-02-24 | Remove the filesocket shim (2.6 compatibility) | mathieui | |
2015-02-23 | Add back stanza-specific exception handlers | mathieui | |
(fixes the test suite too) | |||
2015-02-23 | Add a coroutine_wrapper decorator | mathieui | |
This decorator checks for the coroutine=True keyword arg and wraps the result of the function call in a coroutine if it isn’t. This allows to have constructs like: @coroutine_wrapper def toto(xmpp, *, coroutine=False): if xmpp.cached: return xmpp.cached else: return xmpp.make_iq_get().send(coroutine=coroutine) @asyncio.coroutine def main(xmpp): result = yield from toto(xmpp, coroutine=True) xmpp.cached = result result2 = yield from toto(xmpp, coroutine=True) If the wrapper wasn’t there, the second fetch would fail. This decorator does not do anything if the coroutine argument is False. | |||
2015-02-22 | Use CallbackCoroutine with Iq callbacks too | mathieui | |
2015-02-22 | Allow event handlers to be coroutine functions | mathieui | |
And do not copy data when running events with XMLStream.event() | |||
2015-02-17 | Check that ciphers have been initialized | mathieui | |
(if not, python will use the system default) | |||
2015-02-12 | Fix the uses of stanza.reply() | mathieui | |
This is relying on the stanzas being copied for each handler. We no longer do that for performance reasons, so instead of editing the copy in-place, stanza.reply() now returns a new stanza. | |||
2015-02-04 | XMLStream must provide the BaseProtocol interface | Florent Le Coz | |
2015-01-05 | Fix the call of iscoroutinefunction() | Florent Le Coz | |
2015-01-03 | Do not copy the stanza before calling each handlerexp_idle_call | Florent Le Coz | |
2015-01-03 | Use a deque for the idle list | Florent Le Coz | |
2015-01-03 | Delay the handling of stanza for when the process is not busy | Florent Le Coz | |
We use some dirty monkey-patching to add a idle_call() function to the asyncio module. We then use that method to handle each received stanza only when the event loop is not busy with some other IO (mainly, the standard input) | |||
2014-12-17 | Make the ca_certs option useful again (CA-based cert validation) | mathieui | |
It was broken since the fork. | |||
2014-12-11 | Bring back authentication through SASL EXTERNAL | mathieui | |
(and only update the ssl context before it gets used) | |||
2014-11-14 | Lower the timeout for each DNS resolution attempt | Florent Le Coz | |
2014-11-12 | Let loop.create_connection do its getaddrinfo coroutine if there are no dns ↵ | mathieui | |
records left/available | |||
2014-11-05 | Also work without SRV records | Florent Le Coz | |
2014-11-02 | Fix default value of dns_answers to None (instead of []) | Florent Le Coz | |
2014-11-02 | Use aiodns instead of dnspython to query DNS records | mathieui | |
2014-10-30 | Add the ssl_cert and ssl_invalid_chain back | mathieui | |
- hack the stdlib to get the peercert, remove that hack when http://bugs.python.org/issue22768 gets fixed | |||
2014-10-30 | Make the "ciphers" option work again | mathieui | |
2014-10-30 | Remove the ssl_version option, as the defaults in python3.4 are sane | mathieui | |
2014-10-11 | Something something get_stanza_values | Florent Le Coz | |
Fix something that was broken by Link Mauve | |||
2014-09-28 | Remove all deprecated alias in the core of slixmpp, and wherever they were used. | Emmanuel Gil Peyrot | |
2014-09-28 | Remove the now useless Queue wrapper in slixmpp.util. | Emmanuel Gil Peyrot | |
2014-09-01 | Remove all trailing whitespaces. | Emmanuel Gil Peyrot | |
2014-09-01 | Always use OrderedDict from collections, and remove its implementation in ↵ | Emmanuel Gil Peyrot | |
slixmpp.thirdparty. | |||
2014-09-01 | Reintroduce XMLStream.process, making it run the asyncio event loop. | Emmanuel Gil Peyrot | |
2014-09-01 | Add pygments support to debug output. | Emmanuel Gil Peyrot | |
2014-09-01 | Remove sys.version_info checks for python2 and clean some imports. | Emmanuel Gil Peyrot | |
2014-08-16 | Remove deprecated xmlstream/jid.py | Florent Le Coz | |
2014-08-01 | Add the 'connecting' event | Florent Le Coz | |
2014-07-30 | Fix the connection (and a few minor things) in xmlstream | Florent Le Coz | |
2014-07-30 | Fix the iq.send() function, and a bunch of places where it is called | Florent Le Coz | |
This is a big-and-dirty commit with a bunch of cleanup, maybe breaking a few things, and not fixing all iq.send() calls yet. | |||
2014-07-23 | And that | Florent Le Coz | |
2014-07-23 | Forgot to remove that | Florent Le Coz | |
2014-07-23 | Cleanup how events are run, they are always direct by definition now | Florent Le Coz | |
2014-07-22 | Use ".remove()" instead of "is in" followed by ".pop()" | Emmanuel Gil Peyrot | |
2014-07-22 | An other cleanup of xmlstream.py | Florent Le Coz | |
Remove some useless things (like handling signals, managing the threads, etc), add some comment to recently added/fixed methods… | |||
2014-07-22 | Remove unused RestartStream exception | Florent Le Coz | |
2014-07-21 | Remove the now useless state machine | Florent Le Coz | |
2014-07-21 | Make connect(), abort() and reconnect() work | Florent Le Coz | |
All the auto_reconnect, connect_retry logic and that kind of stuf has been entirely removed. | |||
2014-07-21 | Clean a new bunch of stuf | Florent Le Coz | |
2014-07-21 | Remove the send_thread() function, and the stop threading.event | Florent Le Coz | |
2014-07-20 | Make xmlstream use an asyncio loop | Florent Le Coz | |
Scheduled events, connection, TLS handshake (with STARTTLS), read and write on the socket are all done using only asyncio. A lot of threads, and thread-related (and thus useless) things still remain. This is only a first step. | |||
2014-07-17 | Rename to slixmpp | Florent Le Coz | |