File: ChangeLog.md

package info (click to toggle)
light 1.2.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 232 kB
  • sloc: ansic: 1,439; makefile: 44; sh: 9
file content (117 lines) | stat: -rw-r--r-- 3,863 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
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()` and `light_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` and `PATH_MAX` instead of hardcoded values
  - Allow paths to be longer than 256 chars
  - Check pointers everywhere
  - Use `strncpy()`/`snprintf()` instead of `strcpy()`/`sprintf()`
  - Validate controllers' name (`-s` flag + a very long name = bad
    things happening)
  - Get rid of globals for dir iteration


[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


[UNRELEASED]: https://github.com/haikarainen/light/compare/v1.2...HEAD
[v1.2]:       https://github.com/haikarainen/light/compare/v1.1.2...v1.2
[v1.1.2]:     https://github.com/haikarainen/light/compare/v1.1...v1.1.2
[v1.1]:       https://github.com/haikarainen/light/compare/v1.0...v1.1
[v1.0]:       https://github.com/haikarainen/light/compare/v0.9...v1.0
[v0.9]:       https://github.com/haikarainen/light/compare/v0.7...v0.9