1. 16 Jan, 2020 1 commit
  2. 31 Dec, 2019 1 commit
  3. 23 Dec, 2019 1 commit
  4. 17 Dec, 2019 1 commit
  5. 03 Dec, 2019 1 commit
  6. 29 Nov, 2019 1 commit
  7. 27 Nov, 2019 1 commit
    • Arjen Hiemstra's avatar
      Add translations for new memory sensors · eedf1ca7
      Arjen Hiemstra authored
      Summary:
      This adds the translated strings for the new Total, Available and
      Allocated sensors.
      
      Depends on D25305
      
      Test Plan:
      The sensor browser no longer shows the new sensors as "total", "available"
      and "allocated" but "Total Memory" etc.
      
      Reviewers: #plasma, davidedmundson
      
      Reviewed By: #plasma, davidedmundson
      
      Subscribers: plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D25306
      eedf1ca7
  8. 23 Nov, 2019 3 commits
  9. 12 Nov, 2019 1 commit
  10. 04 Nov, 2019 1 commit
    • David Edmundson's avatar
      Add KDEClangFormat cmake support · 482808cd
      David Edmundson authored
      Summary:
      This allows devs to run: "make clang-format" and format all files easily
      using the preset KDE clang format style
      
      This patch adds support so devs can easily test the intended formatting
      now, it doesn't change the code yet.
      
      Doing an initial run to commit everything will happen later.
      
      Test Plan:
      Ran script
      git diff was full of amazingly cleaned code
      
      See D25134
      482808cd
  11. 29 Oct, 2019 1 commit
  12. 27 Oct, 2019 1 commit
  13. 22 Oct, 2019 1 commit
  14. 21 Oct, 2019 2 commits
  15. 18 Oct, 2019 1 commit
  16. 13 Oct, 2019 2 commits
  17. 10 Oct, 2019 3 commits
  18. 27 Sep, 2019 3 commits
  19. 26 Sep, 2019 1 commit
  20. 19 Sep, 2019 5 commits
  21. 17 Sep, 2019 1 commit
  22. 13 Sep, 2019 1 commit
    • David Edmundson's avatar
      Create a plugin framework for processes · 06468841
      David Edmundson authored
      Summary:
      Currently everything for processes is hardcoded with a method for each
      process property. This is core functionality like CPU usage and memory
      usage but it's not very extensible.
      
      Currently ProcessModel is full of extra hacks to add X11 data when
      really it should be a dumb proxier of information.
      
      We have a pending patch to show network stats, and we have a pending
      patch to add powertop information, which all work in a different way
      from just reading data in /proc
      
      In order to keep it flexible a more generic format method is added which
      doesn't require hardcoding knowledge of types.
      
      This patch is part of a series, next steps are adding various plugins,
      stripping proces model - and then using the ProcessAttribute class to
      provide the metadata for the core process attributes so that
      ProcessModel can become a very simple view with no code duplication.
      
      Reviewers: #plasma, ahiemstra
      
      Reviewed By: ahiemstra
      
      Subscribers: meven, zzag, ahiemstra, alexde, broulik, plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D23287
      06468841
  23. 09 Sep, 2019 1 commit
    • Yunhe Guo's avatar
      HiDPI icon pixmap · 5906261d
      Yunhe Guo authored
      Summary:
      Return HiDPI icon pixmap, so the icon in process list is sharp in HiDPI display.
      
      Before:
      
      {F7331534}
      
      After:
      
      {F7331521}
      
      Reviewers: #plasma, ngraham
      
      Reviewed By: ngraham
      
      Subscribers: GB_2, #plasma, plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D23794
      5906261d
  24. 04 Sep, 2019 2 commits
  25. 02 Sep, 2019 1 commit
    • Arjen Hiemstra's avatar
      Move code to send signals and set priority of processes to a dedicated object · cb3ccfc6
      Arjen Hiemstra authored
      Summary:
      This pulls the code out of KSysGuardProcessList and introduces it in a
      new class called ProcessController. This should help make that code more
      reusable and allow it to eventually be exposed to QML.
      
      Test Plan:
      Start ksysguard, try to send signals to processes and set priorities, including
      root-owned processes. Everything should still work.
      
      Reviewers: #plasma, davidedmundson
      
      Reviewed By: #plasma, davidedmundson
      
      Subscribers: davidedmundson, plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D23566
      cb3ccfc6
  26. 27 Aug, 2019 2 commits
    • Arjen Hiemstra's avatar
      Add vmPSS to Process and display it as "total memory" column · 3a285053
      Arjen Hiemstra authored
      Summary:
      This adds a "proportional state set" value to ProcessCore::Process, that is then
      exposed as "Total Memory" column in KSysGuard. This column is hidden by default.
      
      PSS is the amount of memory a process uses privately + the amount of shared memory
      divided by the amount of processes sharing that memory. It is, as far as I know, the
      closest we can get to "total physical memory usage" for a process.
      
      The value for PSS is read from /proc/{pid}/smaps_rollup . This unfortunately means
      we cannot currently display PSS for processes not owned by the current user, as
      smaps_rollup is not world-readable.
      
      For some background on this, see https://lkml.org/lkml/2017/8/9/1073 , which is the
      patch that adds smaps_rollup and talks about what Android uses it for.
      
      Test Plan:
      Run ksysguard, then toggle display of the "Total Memory" column. Values should be
      higher than the "Memory" column.
      
      Reviewers: #plasma, davidedmundson
      
      Reviewed By: #plasma, davidedmundson
      
      Subscribers: plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D23382
      3a285053
    • Laurent Montel's avatar
      Use QLatin1String when it's possible + don't assign string when we use · 857ef2a2
      Laurent Montel authored
      replace as it works on same element
      857ef2a2