Procházet zdrojové kódy

Convert to Markdown and update with all official releases

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
Joachim Nilsson před 6 roky
rodič
revize
35b4b54dcc
1 změnil soubory, kde provedl 97 přidání a 13 odebrání
  1. 97
    13
      ChangeLog.md

+ 97
- 13
ChangeLog.md Zobrazit soubor

@@ -1,13 +1,97 @@
1
-0.9
2
-  * Complete rewrite of program (Every single byte)
3
-  * Cleaner, safer code
4
-  * Completely new intuitive usage (Sorry, it was needed)
5
-  * Added functionality:
6
-    * Ability to set/get minimum brightness directly from commandline
7
-    * Ability to specify the backlight controller to use directly from commandline
8
-    * Better verbosity
9
-
10
-  * Probably missed some stuff
11
-
12
-0.7
13
-  * Ported bash script to C.
1
+Change Log
2
+==========
3
+
4
+All relevant changes to the project are documented in this file.
5
+
6
+
7
+[v1.1.2][] - 2018-06-20
8
+-----------------------
9
+
10
+Panic release to fix save/restore.
11
+
12
+### Changes
13
+- Add help2man dependency in README
14
+- Better Support for Overriding Install Prefix
15
+- Restore DESTDIR support
16
+
17
+### Fixes
18
+- Issue #29: Fix save and restore arguments
19
+- Issue #27: Use the install command instead of raw cp/mv/chmod.
20
+
21
+
22
+[v1.1][] - 2017-11-23
23
+---------------------
24
+
25
+Various fixes and improvements.  Credits to Abdullah ibn Nadjo
26
+
27
+### Changes
28
+- Add `-k` flag for keyboard backlight support
29
+- Cache max brightness data from automatic controller detection
30
+- Improve overall logging
31
+- Logging of clamps, saves and restores
32
+- Support for save, restore, get [max] brightness etc. for both screen
33
+  and keyboard controllers
34
+
35
+### Fixes
36
+- Avoid checking for write permission if just getting value
37
+- Check if controller is accessible before getting value
38
+- Avoid redondant checking
39
+- Don't truncate file contents when checking if file is writable
40
+- Fix `light_controllerAccessible()` and `light_getBrightness()` this
41
+  functions were:
42
+   - Reading values from the controller
43
+   - Checking write permission even when we just want reading values
44
+   - Checking the mincap file instead of the actual controller
45
+- Don't try to read brightness values when only targetting max bright
46
+- Fix issues with string buffers and pointers
47
+  - Use `NAME_MAX` and `PATH_MAX` instead of hardcoded values
48
+  - Allow paths to be longer than 256 chars
49
+  - Check pointers everywhere
50
+  - Use `strncpy()`/`snprintf()` instead of `strcpy()`/`sprintf()`
51
+  - Validate controllers' name (`-s` flag + a very long name = bad
52
+    things happening)
53
+  - Get rid of globals for dir iteration
54
+
55
+
56
+[v1.0][] - 2016-05-10
57
+---------------------
58
+
59
+First major release.  Light has been around for a while now and seems to
60
+make some people happy.  Also someone wanted a new release, so here you
61
+go!
62
+
63
+### Changes
64
+- Added save/restore functionality
65
+- Generate man page on `make install`
66
+
67
+### Fixes
68
+- Issue #5: Can't increase brightness on ATI propietary driver
69
+- Issue #10: Honor `$DESTDIR` on man page installation
70
+
71
+
72
+[v0.9][] - 2014-06-08
73
+---------------------
74
+
75
+### Changes
76
+- Complete rewrite of program (Every single byte)
77
+- Cleaner, safer code
78
+- Completely new intuitive usage (Sorry, it was needed)
79
+- Added functionality:
80
+  - Ability to set/get minimum brightness directly from commandline
81
+  - Ability to specify the backlight controller to use directly from commandline
82
+  - Better verbosity
83
+- Probably missed some stuff
84
+
85
+
86
+v0.7 - 2012-11-18
87
+-----------------
88
+
89
+### Changes
90
+- Ported bash script to C
91
+
92
+
93
+[UNRELEASED]: https://github.com/haikarainen/light/compare/v1.1.2...HEAD
94
+[v1.1.2]:     https://github.com/haikarainen/light/compare/v1.1...v1.1.2
95
+[v1.1]:       https://github.com/haikarainen/light/compare/v1.0...v1.1
96
+[v1.0]:       https://github.com/haikarainen/light/compare/v0.9...v1.0
97
+[v0.9]:       https://github.com/haikarainen/light/compare/v0.7...v0.9