1. 05 Oct, 2016 2 commits
    • mathieui's avatar
      slixmpp 1.2.1 · 36824379
      mathieui authored
      Fix a few bugs along with the testsuite, and remove the asyncio loop
      monkeypatch hack.
    • mathieui's avatar
      Remove monkeypatching hack on the event loop · a0a37c19
      mathieui authored
      This allowed us to schedule events in-order later in the event loop, but
      was detrimental to using other event loops and debugging.
  2. 04 Oct, 2016 9 commits
  3. 02 Oct, 2016 2 commits
    • mathieui's avatar
      Update for slixmpp 1.2 · 187c3508
      mathieui authored
    • mathieui's avatar
      Add a fallback if the lang we want is not available · 96d1c26f
      mathieui authored
      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.
  4. 30 Sep, 2016 4 commits
  5. 20 Sep, 2016 10 commits
  6. 26 Aug, 2016 2 commits
  7. 23 Aug, 2016 3 commits
  8. 22 Aug, 2016 1 commit
  9. 21 Aug, 2016 2 commits
    • mathieui's avatar
      Don’t trigger presence events on MUC presence · 52cd8f4b
      mathieui authored
      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.
    • Link Mauve's avatar
      Micro-optimise _format_jid. · e28318c2
      Link Mauve authored
  10. 19 Aug, 2016 3 commits
  11. 16 Aug, 2016 1 commit
    • Link Mauve's avatar
      ElementBase: micro-optimise __getitem__, hands down the most often called function · f0f1698e
      Link Mauve authored
      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.
  12. 12 Aug, 2016 1 commit