summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-10-05Remove monkeypatching hack on the event loopmathieui
This allowed us to schedule events in-order later in the event loop, but was detrimental to using other event loops and debugging.
2016-10-04Fix XEP-0060 testsmathieui
2016-10-04Fix stanza accessors case in testsmathieui
They were using deprecated (and-removed) style.
2016-10-04Fix the gmail_notify pluginmathieui
2016-10-04Fix XEP-0033mathieui
Re-add relevant stanza methods, broken in 7cd1cf32ae69
2016-10-04Attrib property has been removedmathieui
2016-10-04Set unset part of a JID to empty string instead of Nonemathieui
it breaks assumptions on the type of the value
2016-10-04Add more checks in the XEP-0060 stanza buildingmathieui
Try to not append slixmpp stanzas to ElementTree objects.
2016-10-04Fix XEP-0128mathieui
Broken since 125336aeee6 due to unforeseen consequences of a variable removal.
2016-10-04Fix XEP-0009mathieui
Broken since 3a9b45e4f because of an overzealous cleanup.
2016-10-02Update for slixmpp 1.2slix-1.2mathieui
2016-10-02Add a fallback if the lang we want is not availablemathieui
Previously, trying to get a text node with a lang which is different from the one we specified would return nothing, which means e.g. a message would be ignored because its body is of lang 'fr' when we setup slixmpp to prefer 'en'. We want to return something when there is an available, valid content in a different language.
2016-09-30Fix uses of super() in the codebasemathieui
Fix #3165, we don’t need to use the long form to get the superobject in our supported python versions.
2016-09-30Fix #3226 (unicity of scheduled event names)mathieui
Thanks tchiroux for raising the issue and providing the fix as well.
2016-09-30Merge branch 'doc_fixes' of https://github.com/SamWhited/slixmppmathieui
2016-09-30Minor documentation fixesSam Whited
2016-09-20Fix xep-0050 stanzamathieui
broken in 3a9b45e4f279
2016-09-21ElementBase: Remove support for TitleCase methods.Emmanuel Gil Peyrot
This gains about 1/8th of the time spent in __getitem__.
2016-09-21XEP-0045: Remove support for old-style {get,set,del}TitleCase methods.Emmanuel Gil Peyrot
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-23Fix the MUC address in contributing.rstmathieui
2016-08-23Make session_bind_event awaitableDan Sully
2016-08-24Add a contributing filelouiz’
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-03-15Add some creditslouiz’