3.8 KiB
3.8 KiB
Change Log
All relevant changes to the project are documented in this file.
v1.2 - 2018-09-23
Changes
- Converted to GNU configure & build system
- Major rewrite to add a device system, folds in all kinds of display/keyboard/LED controllers under one roof. Note, this change break command line options from previous releases
- Support for installing as non-SUID root using an udev rule
enabled
--with-udev
to the new configure script - Migrated to use
~/.cache/light
instead of/etc/light
for unpriviliged operation. Respects XDG_CACHE_HOME if set - Added proper light.1 man page, remvoes help2man dependency
- Update presentation of commands and options in built-in help text, as well as in the README and man page
- Overhaul of coding style, see DOCUMENTATION.md for details
- Add Fedora installation instructions
v1.1.2 - 2018-06-20
Panic release to fix save/restore.
Changes
- Add help2man dependency in README
- Better Support for Overriding Install Prefix
- Restore DESTDIR support
Fixes
- Issue #29: Fix save and restore arguments
- Issue #27: Use the install command instead of raw cp/mv/chmod.
v1.1 - 2017-11-23
Various fixes and improvements. Credits to Abdullah ibn Nadjo
Changes
- Add
-k
flag for keyboard backlight support - Cache max brightness data from automatic controller detection
- Improve overall logging
- Logging of clamps, saves and restores
- Support for save, restore, get [max] brightness etc. for both screen and keyboard controllers
Fixes
- Avoid checking for write permission if just getting value
- Check if controller is accessible before getting value
- Avoid redondant checking
- Don't truncate file contents when checking if file is writable
- Fix
light_controllerAccessible()
andlight_getBrightness()
this functions were:- Reading values from the controller
- Checking write permission even when we just want reading values
- Checking the mincap file instead of the actual controller
- Don't try to read brightness values when only targetting max bright
- Fix issues with string buffers and pointers
- Use
NAME_MAX
andPATH_MAX
instead of hardcoded values - Allow paths to be longer than 256 chars
- Check pointers everywhere
- Use
strncpy()
/snprintf()
instead ofstrcpy()
/sprintf()
- Validate controllers' name (
-s
flag + a very long name = bad things happening) - Get rid of globals for dir iteration
- Use
v1.0 - 2016-05-10
First major release. Light has been around for a while now and seems to make some people happy. Also someone wanted a new release, so here you go!
Changes
- Added save/restore functionality
- Generate man page on
make install
Fixes
- Issue #5: Can't increase brightness on ATI propietary driver
- Issue #10: Honor
$DESTDIR
on man page installation
v0.9 - 2014-06-08
Changes
- Complete rewrite of program (Every single byte)
- Cleaner, safer code
- Completely new intuitive usage (Sorry, it was needed)
- Added functionality:
- Ability to set/get minimum brightness directly from commandline
- Ability to specify the backlight controller to use directly from commandline
- Better verbosity
- Probably missed some stuff
v0.7 - 2012-11-18
Changes
- Ported bash script to C