1. 14 Jan, 2021 1 commit
  2. 07 Jan, 2021 3 commits
  3. 05 Jan, 2021 2 commits
  4. 24 Nov, 2020 1 commit
  5. 20 Nov, 2020 3 commits
    • David Redondo's avatar
      Remove setShortNameFor · 90e18d1d
      David Redondo authored
      We do not anymore use a subsystem which was using this method.
      90e18d1d
    • David Redondo's avatar
      Add memory plugin · 10f350f5
      David Redondo authored
      Uses mostly the same methods to get the information as the old code.
      On FreeBSD the method to get the swap values is much simpler with just one
      function call.
      10f350f5
    • David Redondo's avatar
      Move SysctlSensor to libkstats · fab34478
      David Redondo authored
      It can be useful when a sensor property can be obtained by directly reading from
      sysctl on FreeBSD. Add a conversion function to it. Also add a simple base struct
      so it is possible to store SysctlSensors of different types in a container.
      fab34478
  6. 19 Nov, 2020 17 commits
  7. 11 Nov, 2020 1 commit
    • David Redondo's avatar
      Use last part of udi as fallback for id · 14cdcabd
      David Redondo authored
      It can happen the Solid reports an empty string as serial. Let's just use the
      last part of the udi as id for now if that happens, it looks reasonable enough
      for this. Some exaples:
      udi = '/org/freedesktop/UPower/devices/battery_BAT0'
      udi = '/org/freedesktop/UPower/devices/keyboard_hid_0018o04F3o280Ex0001_battery'
      udi = '/org/freedesktop/UPower/devices/mouse_hidpp_battery_0'
      14cdcabd
  8. 09 Nov, 2020 1 commit
  9. 02 Nov, 2020 1 commit
  10. 29 Oct, 2020 2 commits
    • David Redondo's avatar
      Do not load multiple versions of the same plugin · fe62329d
      David Redondo authored
      In instantiatePlugins the plugins are ordered according to the configured
      libraries paths of the environment. When we load the plugins we are currently
      doing the opposite of what we want. We load first the plugin from the directory
      with the highest priority, some time later we load the same plugin from a
      folder with a lower priority and then use the containers from this plugin and throw
      the existing containers away!
      fe62329d
    • David Redondo's avatar
      Only look for libnl · 6b327866
      David Redondo authored
      We do not need the other ones and I had already removed it on other places of
      this file but overlooked it here.
      6b327866
  11. 23 Oct, 2020 1 commit
  12. 20 Oct, 2020 1 commit
  13. 16 Oct, 2020 1 commit
    • Arjen Hiemstra's avatar
      Divide network speeds by 2 · 8d8dea7a
      Arjen Hiemstra authored
      We update the network speed every 2s to match the daemon update rate.
      However, this means that when calculating the difference between the
      current and the previous, we get twice the amount since we are a
      calculating the difference over 2s. So divide by 2 to get the byte rate
      per second.
      8d8dea7a
  14. 14 Oct, 2020 1 commit
  15. 12 Oct, 2020 4 commits