1. 30 Sep, 2020 8 commits
  2. 29 Sep, 2020 1 commit
    • David Redondo's avatar
      Fix crash with text face · 90548f3e
      David Redondo authored
      A binding involving the two arrays won't update when we change just the
      contents of the arrays so we crashed later in QQmlData::wasDeleted when
      trying to access the objects which were inside but deleted.
  3. 27 Sep, 2020 1 commit
  4. 23 Sep, 2020 2 commits
  5. 22 Sep, 2020 1 commit
  6. 21 Sep, 2020 4 commits
  7. 20 Sep, 2020 1 commit
  8. 18 Sep, 2020 1 commit
    • David Redondo's avatar
      Fix cgroup regex name matching · 5af911ee
      David Redondo authored
      The current state is an example of good enough but not correct. There were two
      issues. The first one is that I accidentally used the wrong kind of brackets.
      Secondly we need to  escape only after matching because the name could contain
      escaped dashes.
  9. 17 Sep, 2020 3 commits
  10. 15 Sep, 2020 1 commit
  11. 14 Sep, 2020 1 commit
    • Arjen Hiemstra's avatar
      Rework CGroup PID reading runnable to prevent crashes · f0512a6a
      Arjen Hiemstra authored
      Sometimes the CGroup gets deleted before the Runnable finishes, causing
      a crash when we try to lock the PID lock. Since we have no way of
      tracking the CGroup object lifetime, rework the code to instead have the
      CGroup wait on the runnable when needed. Effectively this turns the
      runnable into more of a Future.
  12. 07 Sep, 2020 1 commit
    • Arjen Hiemstra's avatar
      Do not use QStringView of a temporary · d5876529
      Arjen Hiemstra authored
      QString::mid() return a temporary QString. QStringView doesn't actually
      hold any reference to data, so the temporary gets deleted somewhere
      after we create the string view, which makes the string view invalid. So
      instead, use QStringRef here for which there is a separate method.
  13. 06 Sep, 2020 1 commit
  14. 03 Sep, 2020 4 commits
  15. 02 Sep, 2020 2 commits
    • Arjen Hiemstra's avatar
      Add missing Updates alias to Process · f0b89c98
      Arjen Hiemstra authored
    • Arjen Hiemstra's avatar
      Move reading of /proc/pid/smaps_rollup to a separate thread · 23852597
      Arjen Hiemstra authored
      As it turns out, smaps/smaps_rollup are fairly slow to read because the
      kernel iterates all the memory of a process when this file is accessed.
      This caused the update time of all processes to go up from ~30 ms to
      more than 200ms.
      This changes things to do the reading of smaps_rollup in a separate
      thread that doesn't block the main update. This reduces update time to
      ~50ms, which is noticably better. To accomodate the asynchronous nature,
      some additional functionality needed to be added so we can notify
      Processes of the asynchronous update.
  16. 31 Aug, 2020 1 commit
  17. 29 Aug, 2020 1 commit
  18. 27 Aug, 2020 1 commit
    • Arjen Hiemstra's avatar
      Prevent CGroup object deletion from crashing the application · da9b3d62
      Arjen Hiemstra authored
      In certain cases, a race condition seems to come up where the PID
      retrieval thread tries to set the PIDs while the cgroup object is being
      deleted. So lock the mutex in the destructor, so that if that should
      happen, destruction will block while the PIDs are being updated.
  19. 25 Aug, 2020 1 commit
  20. 19 Aug, 2020 1 commit
  21. 18 Aug, 2020 3 commits