summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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’
2016-03-14The XEP-0198 plugin exists now; fix the docsSam Whited
2016-02-03Fix #3166 (broken link)mathieui
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-02Mention the build of cython modules in the READMEmathieui
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-18Merge pull request #397 from rerobins/xep_0050_updatesMike Taylor
Xep 0050 updates
2015-09-18Merge branch 'develop' into xep_0050_updatesRobert Robinson
# Conflicts: # tests/test_stream_xep_0050.py
2015-09-18Merge pull request #3 from fritzy/developRobert Robinson
Merge to fritzy_master
2015-09-18Merge pull request #396 from rerobins/add_xep_0122Mike Taylor
XEP_0122: Add support for form validation
2015-09-18Merge pull request #393 from aalba6675/fix/timeMike Taylor
Only send time if Iq type is get.
2015-09-18Merge pull request #392 from aalba6675/fix/tel_numberMike Taylor
Do not overwrite telephone numbers
2015-09-18Merge pull request #389 from alexdraga/developMike Taylor
Add get users by affiliation.
2015-09-18Merge pull request #384 from elya5/patch-1Mike Taylor
Fix UnboundlocalError in disco_browser.py example
2015-09-18Merge pull request #386 from jdowner/develop-iotMike Taylor
iot: only add the 'done' field when all devices are done
2015-09-18Merge pull request #395 from rerobins/refactor_formsMike Taylor
XEP_0004: Data Forms use register_stanza_plugin
2015-09-17register_Stanza_plugin shouldn't be iterableRobert Robinson
Should not use iterable for registering the stanza plugins.
2015-09-17Add 0122 to plugin/__init__.py __all__Robert Robinson
2015-09-15Update __init__.pyRobert Robinson
changed xep_0121 to xep_0122
2015-09-15Merge branch 'add_xep_0122' of https://github.com/rerobins/SleekXMPP into ↵Robert Robinson
add_xep_0122