Skip to content

Releases: FedeDP/Clightd

v4.2

27 Jun 17:47
Compare
Choose a tag to compare

A new Clightd release is here; it brings a couple of fixes and a new API:

New Api

  • Added a Backlight.Changed signal, that is emitted whenever an internal backlight device changes

Fixes

  • Fixed a possible memleak
  • Fixed Backlight.Get method with no serial specified, for external monitors

v4.1

24 May 09:24
Compare
Choose a tag to compare

Hi! I am happy to present you a new Clightd release.

New features

  • Added support to settings string for ALS sensor (interval, min and max)
  • Sensor.Capture method does now return number of correctly captured frames, that can be lower than requested captures
  • Backlight.Get/Set methods can now be called without specifying a serial id
  • User can now override default backlight DDC VP code (0x10) through a bash env variable or cmdline parameter
  • Added a new Custom sensor

Bugfixes

  • Clightd will now properly leave when bus connection is lost
  • Fixed lots of issues with ALS sensors; it should now support all of them
  • Strengthen Sensor code with better sensor validation and improved code abstraction

As always, wiki pages have been updated with new APIs and more informations.

v4.0

24 Nov 13:57
Compare
Choose a tag to compare

Clightd 4.0

Hi everyone! Here is (finally!) a new Clightd release!
First of all, let me thank @pdf for its great help creating a brand new ambient brightness computation algorithm that greatly improves user experience and camera captures stability.

Changes

Generic

  • Updated to new ddcutil 0.9.5 interface (mandatory)
  • Updated to new libmodule 5.0.0 interface (required)
  • Added a "-v/--version" cmdline switch
  • Added CPack support to CMake to generate DEB and RPM packages
  • Dropped -DENABLE_IDLE (as it does not depend upon any external library now) and added -DENABLE_SCREEN cmake build option
  • Fixed an issue with timerfd_settime for long timeouts

IDLE

  • Avoid depending on X, it now works everywhere

DPMS

  • Drop DPMS Set/GetTimeouts, and only use Get/Set
  • Add support for DPMS on tty

CAMERA sensor

  • Improved camera code
  • Reduced logging
  • Support Grayscale pixelformat for CAMERA captures, as it uses less resources than YUV
  • (#24) Always reset webcam options before capturing, in case any external program changes them
  • (#24) Added new Sensor.Capture method parameter to allow user to specify camera settings. Unused for ALS devices for now
  • (#25) Using a brand new algorithm to compute ambient brightness that offers a great improvement over current method of just computing average pixel intensity for each captured frame. Made by @pdf! Thanks again!

BACKLIGHT

  • (#27) Use DDCutil DDCA_Display_Info path.io_mode (eg: /dev/i2c-%d) as uid for detected screens as SerialNumber can be null/empty on some devices

SCREEN

  • Add a method (X only) to compute current monitor emitted brightness

Hope you enjoy this release!

v3.4

16 Mar 11:13
Compare
Choose a tag to compare

Here is another small bugfix release for Clightd.
Only one small, but important fix, no new features:

  • Avoid linking polkit-gobject library that was previously mistakenly linked

Please note that this clightd release does not support libmodule 5.0.0 API.

v3.2

26 Jan 10:28
Compare
Choose a tag to compare

This is just a small release that bump required libmodule version to 4.0.0 and makes use of newly available APIs in libmodule 4.0.0.

It has some small PKBUILD fixes too, thanks to @yochananmarqos :)

Note that Clightd does now require libmodule 4.0.0.

v3.1, new year release

03 Jan 13:56
Compare
Choose a tag to compare

A new Clightd release is here.
Moreover, let me take my time to wish you all a happy new year!

New API

  • Backlight API now offers Raise/Lower/Set/Get methods for desired serial

Fixes

  • Added some sanity checks for Backlight/Set,Raise,Lower{All} methods

Generic Improvements

Let me warmly thank @danyspin97 for its continuous support in this side! Thank you very much!

  • Replaced DISABLE_* options for CMakeLists with ENABLE_*; this is better for packaging, as Clightd's build now fails if any ENABLEd option has not its dependencies installed (while before it would silently disable the feature)
  • Some other improvements to CMakeLists.txt

v3.0

02 Dec 09:19
Compare
Choose a tag to compare

Here is a new Clightd release! It is quite a big release, with lots of refactoring that will make it easier to maintain Clightd in the future, plus new features.
First of all, let me thank a couple of contributors, alphabetic order:

  • @beret -> Tested ALS support
  • @danyspin97 -> Patches towards Elogind support for Clightd
  • @VorpalBlade -> Patches towards CMake support for Clightd

Highlights:

Api improvements:

  • Changed main interface to org.clightd.clightd
  • ALS devices support
  • Renamed bus methods in CamelCase
  • ALS and Camera devices share same interface: org.clightd.clightd.Sensor.IsAvailable/Capture/Changed (signal)
  • Added a "Changed" signal for Sensor interface that is triggered whenever a new Sensor becomes available
  • Moved bus API doc to github wiki pages
  • Every feature has now its own object path, eg: /org/clightd/clightd/Gamma {Set,Get}
  • Completely renewed Idle interface with a Client-like interface

Generic

  • Switched to libmodule to manage modules
  • Ported build system to cmake
  • Ported CI to sr.ht

Fixes

  • Properly return value between 0 and 1.0 in Capture
  • Leave brightness_smooth_cb if no internal backlight is present

And surely much more I forgot :)
Thanks everyone, enjoy this new release!

v2.4

14 Sep 19:40
Compare
Choose a tag to compare

Clightd 2.4 added a small but important new feature:

  • Added a WebcamChanged bus signal to let clients know when a webcam becomes available/disappears.

v2.3, minor updates

01 Sep 08:16
Compare
Choose a tag to compare

Small update:

  • Install clightd license file in /usr/share/licenses/clightd/
  • Avoid requiring only last part of syspath for udev device; manage fullpath too

v2.2, more fixes

20 Jul 17:26
Compare
Choose a tag to compare
  • Really small fixes in smooth implementations, possibly avoid some weird bugs.

In this release i dropped deb package support. It was hackish and, as i have less and less time to spend on my side projects, i prefer to avoid wasting any resource on that.