Skip to content

v4.7

Compare
Choose a tag to compare
@FedeDP FedeDP released this 22 Aug 09:19
· 83 commits to master since this release

Hi! Welcome to another release of Clight!
This releaase cycle was quite short but it brings lots of goodies!
Let's start!

Features

  • Keyboard backlight is now specified as a curve for AC and BATT states, just like screen backlight
  • Geoclue GetClient call is now async to avoid "freezing" for 20s waiting on geoclue daemon to answer on startup
  • Dbus API does now expose MonitorOverride api

Improvements

  • Stop Gamma module where not supported
  • Added a timeout of 30s for waiting on geoclue; if no location is received, kill Location module (it avoids weird situations where there is no cached location and clight awaits forever for geoclue to give a location)
  • Improved geoclue error handling with meaningful messages
  • Deregister modules instead of just stopping them where unsupported/in case of init errors, so that they won't waste resources
  • When a module is deregistered, its bus api is killed too
  • Plot backlight curves directly using fit parameters instead of using x and y loaded from config (makes much more sense)
  • Plot backlight curve for any curve (backlight, monitor_override and keyboard), but only in verbose mode

Fixes

  • Fixed a memleak: properly free monitor override map
  • Fixed curve data points validation for custom module requests

Configuration changes

  • Dropped keyboard.ambient_threshold as it is now superseeded by new keyboard curve
  • Added keyboard.ac_regression_points and keyboard.batt_regression_points

As always, I hope you will enjoy this new release!