Releases: FedeDP/Clightd
v4.2
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
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
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
v3.2
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
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
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
v2.3, minor updates
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
- 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.