summaryrefslogtreecommitdiff
path: root/slixmpp
AgeCommit message (Collapse)Author
2016-09-20ElementBase: Remove deprecated find() and findall() methods.discoEmmanuel Gil Peyrot
2016-09-20XEP-0004: Remove deprecated getXML() and fromXML() methods.Emmanuel Gil Peyrot
2016-09-20BaseXMPP: Stop automatically enabling UserNick, and remove deprecated alias ↵Emmanuel Gil Peyrot
module.
2016-09-20ElementBase: Remove attrib interface.Emmanuel Gil Peyrot
2016-09-20ElementBase: Remove subitem interface.Emmanuel Gil Peyrot
2016-09-20Remove locking from static disco.Emmanuel Gil Peyrot
2016-09-20Various XEPs: Remove deprecated aliases.Emmanuel Gil Peyrot
2016-08-26Implement XEP-0333: Chat Markers.Emmanuel Gil Peyrot
2016-08-26Replace _format_jid with a JID method updating both bare and full at the ↵Emmanuel Gil Peyrot
same time.
2016-08-23Make session_bind_event awaitableDan Sully
2016-08-22Pre-compute JID bare and full forms, and store that in each JID.Emmanuel Gil Peyrot
This wins about 4s over a 54s real-world benchmark.
2016-08-22Don’t trigger presence events on MUC presencemathieui
Specifically, previously, each MUC would be added as a roster item, and then each join presence would be counted as a resource of that item, triggering 1 to 5 events and more backend logic in slixmpp. As a result, joining big rooms is tremendously slow, (JID() calls, event() calls, __getitem__ calls for nothing), and takes RAM (a quick tracemalloc tells me around 1 MiB for 3500 participants, i.e. 2 big IRC rooms). Those resources may not necessarily be cleaned properly, leading to memory leaks on long-term usage. This is a micro-optimization that adds an attribute to roster items so that MUC room events can be ignored safely while not affecting common roster usage.
2016-08-21Micro-optimise _format_jid.Emmanuel Gil Peyrot
2016-08-19Improve XEP-0070 and examplesmathieui
2016-08-19Initial work on XEP_0070, plugin and examplesEmmanuel Gil Peyrot
2016-08-19Merge remote-tracking branch 'zejn/master'louiz’
2016-08-17ElementBase: micro-optimise __getitem__, hands down the most often called ↵Emmanuel Gil Peyrot
function This makes it go down from 8.767s to 7.960s in a random benchmark. Remove unnecessary assignations, don’t create an OrderedDict from a dict to then convert it to a dict again, only obtain the get_method2 name if get_method wasn’t present. get_method2 (the title-case one) takes about 1/8th of the total time spent in this function, we should eliminate it as soon as possible.
2016-08-12Provide domain name to loop.create_connection if using SSL.Gasper Zejn
2016-07-30Make util.XOR about ten times faster by calling bytes only once.Emmanuel Gil Peyrot
2016-06-28Don’t swallow presence exceptions abritrarilymathieui
2016-06-05Implement XEP-0256 (last activity in presence)mathieui
mostly useless, but allows to use LastActivity stanzas inside Presence stanzas as well.
2016-06-05Make XEP-0186 return futures as wellmathieui
Improving the api if the developer wants to wait on them.
2016-06-04Implement XEP-0352 (client state indication)mathieui
2016-06-04Update XEP-0198 for asynciomathieui
2016-06-04Add a xep-0334 pluginmathieui
2016-05-28Fix the Waiter handler for asynciomathieui
2016-05-28Fix xep-0199mathieui
The keepalive ping was not working, and and ping() was tracebacking due to a wrong parameter.
2016-05-28Fix the ordering of stream featuresmathieui
since iq.send is non-blocking, some features handlers could end up being executed before others were set, leading to issues. Adding yield from where it’s necessary fixes that.
2016-01-21Merge branch 'xep_0012_fix' of https://github.com/misuzu/slixmppmathieui
2016-01-21Fixed NameError in start_uptimeTsukasa Hiiragi
2015-12-15Remove dead codeKrzysztof Kotlenga
See 5c769632e8d35ea76990a1de3ab405c57a21482e.
2015-10-02Update version to 1.1slix-1.1mathieui
2015-10-02Merge branch 'sleek-merge'mathieui
2015-10-02Merge branch 'develop' of https://github.com/fritzy/SleekXMPP into sleek-mergemathieui
Conflicts: README.rst examples/IoT_TestDevice.py examples/disco_browser.py setup.py sleekxmpp/jid.py sleekxmpp/plugins/google/auth/stanza.py sleekxmpp/plugins/google/gmail/notifications.py sleekxmpp/plugins/google/nosave/stanza.py sleekxmpp/plugins/google/settings/settings.py sleekxmpp/thirdparty/__init__.py sleekxmpp/thirdparty/socks.py sleekxmpp/thirdparty/statemachine.py sleekxmpp/util/__init__.py sleekxmpp/xmlstream/xmlstream.py slixmpp/basexmpp.py slixmpp/plugins/xep_0004/stanza/form.py slixmpp/plugins/xep_0009/rpc.py slixmpp/plugins/xep_0050/adhoc.py slixmpp/plugins/xep_0065/proxy.py slixmpp/plugins/xep_0084/stanza.py slixmpp/plugins/xep_0202/time.py slixmpp/plugins/xep_0323/sensordata.py slixmpp/plugins/xep_0325/control.py slixmpp/plugins/xep_0325/stanza/control.py slixmpp/roster/single.py slixmpp/stanza/atom.py slixmpp/stanza/rootstanza.py slixmpp/test/slixtest.py slixmpp/util/sasl/mechanisms.py slixmpp/version.py slixmpp/xmlstream/stanzabase.py tests/test_stanza_xep_0323.py tests/test_stanza_xep_0325.py tests/test_stream_xep_0323.py tests/test_stream_xep_0325.py
2015-09-25Reset the DNS answers after a connection is made succesfullymathieui
2015-09-24Fix IPv6 resolving with aiodns 1.0mathieui
2015-09-23Fix support for python 3.4 <= 3.4.2mathieui
asyncio module is provisional, which means it gets updated everytime
2015-09-19Fix connecting to a custom host/portmathieui
2015-09-14(Temporary) fix for python 3.5mathieui
This will work until the old ssl implementation is finally deprecated. Hopefully, new features to painlessy implement starttls will be around by then.
2015-09-14Bump the requirements to aiodns 1.0mathieui
(and use install_requires instead of requires in the setup.py)
2015-09-05xep_0231: Fix a traceback on result serialization.Emmanuel Gil Peyrot
2015-09-04vcard-temp: add some checks against wrong inputmathieui
2015-09-04Add timeout_callback to a bunch of plugins as a parametermathieui
2015-08-23Merge branch 'socks5' of http://git.linkmauve.fr/slixmppmathieui
2015-08-23xep_0065: Remove an unused variable.Emmanuel Gil Peyrot
2015-08-23xep_0065: Remove the last useless threading locks.Emmanuel Gil Peyrot
2015-08-23Fix the xep_0065 plugin, by rewriting its socks5 implementation.Emmanuel Gil Peyrot
2015-08-22Fix the order in which <identity/> and <feature/> tags are sent on disco#infoFlorent Le Coz
The identities should all be at the start, and features at the end, so we just prepend the identity on add_identity, and append features on add_feature
2015-08-20Add a function to convert a domain name to punycode.Emmanuel Gil Peyrot
2015-08-08Add a format() method to XMPPError which returns a readable string.Emmanuel Gil Peyrot