1. 21 Sep, 2020 1 commit
  2. 31 Aug, 2020 1 commit
  3. 07 May, 2020 1 commit
    • Arjen Hiemstra's avatar
      Add KSysGuard::Sensors library · 5cfc09fd
      Arjen Hiemstra authored
      Summary:
      This adds a new library for communicating with a new KSysGuard
      DBus-based daemon that provides sensors. The daemon will be
      posted by d_ed later on.
      
      This new library pretty much maps the different objects from
      the daemon to C++ objects.
      
      Depends on D28333
      
      Test Plan: None yet, needs the new daemon.
      
      Reviewers: #plasma, davidedmundson
      
      Reviewed By: #plasma, davidedmundson
      
      Subscribers: ngraham, mart, zzag, plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D28141
      5cfc09fd
  4. 19 Mar, 2020 1 commit
    • Arjen Hiemstra's avatar
      Separate processcore/{formatter,unit} into its own library · 182fbd95
      Arjen Hiemstra authored
      Summary:
      This moves Formatter and Unit out of ProcessCore and into its own Formatter library.
      This allows us to reuse them in other places, like a new sensor library that will be
      posted later.
      
      It includes a declarative plugin that makes things available to QML.
      
      It also contains a small unit test for Formatter.
      
      Test Plan:
      - The new unit test passes.
      - KSysGuard still runs correctly.
      
      Reviewers: #plasma, davidedmundson
      
      Reviewed By: #plasma, davidedmundson
      
      Subscribers: zzag, ngraham, plasma-devel
      
      Tags: #plasma
      
      Differential Revision: https://phabricator.kde.org/D27869
      182fbd95
  5. 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, ...
      06468841