Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Avoid a potential uninitialized use | Benjamin Barenblat | 2020-05-13 |
| | | | | | | If `read_device` fails to open a directory, it frees `ent_path` without ever assigning to it. Explicitly initialize `ent_path` with `NULL` to prevent that uninitialized use. | ||
* | Allow relative --min-value arguments | Alexander Kobel | 2020-04-20 |
| | |||
* | Make optarg parsing more robust | Alexander Kobel | 2020-04-20 |
| | | | | Allow -n MIN as equivalent to -nMIN and --min-value=MIN. | ||
* | README: update `ENABLE_SYSTEMD` documentation | Antoine Damhet | 2020-02-02 |
| | | | | Signed-off-by: Antoine Damhet <antoine.damhet@lse.epita.fr> | ||
* | Use non-suid permissions when logind is used | Christian Kellner | 2020-02-02 |
| | | | | | | | | | | | When systemd-logind and its D-Bus API is used to actual change the brightness of devices the binary does not have to be suid, which is desired for security reasons. This is a cherry-pick of: 7504b58765cafae7f7628fe02204883a200a4b10 that was partially reverted by: 052e56ccd662fba25abd7780be5feb66a8e0710b. Signed-off-by: Antoine Damhet <antoine.damhet@lse.epita.fr> | ||
* | Version bump to 0.5 | Mykyta Holubakha | 2020-02-02 |
| | |||
* | Build fixup | Mykyta Holubakha | 2020-02-02 |
| | | | | | | systemd install fixup Closes #42, #44 | ||
* | Use non-suid permissions when logind is used | Christian Kellner | 2020-01-26 |
| | | | | | | When systemd-logind and its D-Bus API is used to actual change the brightness of devices the binary does not have to be suid, which is desired for security reasons. | ||
* | Improve saving device data | Mykyta Holubakha | 2020-01-25 |
| | |||
* | Fix roundings for percentage calculations | Mykyta Holubakha | 2020-01-25 |
| | |||
* | Stop leaking temporary paths | Mykyta Holubakha | 2020-01-25 |
| | |||
* | Add Alpine Linux to list of available distros | Leo | 2019-11-11 |
| | |||
* | Added NixOS/nix to the installation list | Jack Kelly | 2019-10-30 |
| | | | Added NixOS/nix to the installation list | ||
* | Make the use of `SetBrightness` dynamic | Antoine Damhet | 2019-09-19 |
| | | | | | | | It will only be used if the user do not have the permission to directly write to the backlight device. Signed-off-by: Antoine Damhet <antoine.damhet@lse.epita.fr> | ||
* | Support the new `SetBrightness` logind API | Antoine Damhet | 2019-09-19 |
| | | | | | | | | | This API from `org.freedesktop.login1.Session` allows an unprivileged user with an active session to change its own backlight. Systemd >= v243 is needed. Signed-off-by: Antoine Damhet <antoine.damhet@lse.epita.fr> | ||
* | Update README.md | Hummer12007 | 2019-08-02 |
| | |||
* | openSUSE updates | Hummer12007 | 2019-08-02 |
| | |||
* | brightnessctl is dropped from recent Fedora | Hummer12007 | 2019-08-02 |
| | |||
* | brightnessctl is in Arch community | Hummer12007 | 2019-08-02 |
| | |||
* | Fixed inconsistency in README (thanks @AJGQ) | Hummer12007 | 2019-08-02 |
| | | | Closes #28 | ||
* | Documented new changes | Mykyta Holubakha | 2019-08-02 |
| | | | | Rewritten some contributed code | ||
* | Added a mapping function (exponent) | Schnilz | 2019-08-02 |
| | | | | | | | | added -e / --exponent. As the perceived brightness change from 10% to 20% is not the same as 90% to 100%, there is now a float parameter--exponent / -e to set the mapping of the percentage form linear (as it was) to polynominal. (%=x^k*max*100^-k) k is the value that you can change now. | ||
* | Fixes return code when set in quiet mode | Antoni Villalonga | 2019-08-02 |
| | |||
* | Add openSUSE package info | Michael Vetter | 2019-04-30 |
| | |||
* | Version bump to 0.4 | Mykyta Holubakha | 2018-09-04 |
| | |||
* | Fix read_device return | Hummer12007 | 2018-07-22 |
| | | | closes #24 | ||
* | Considered bitfields harmful | Mykyta Holubakha | 2018-07-13 |
| | |||
* | Refactor to use stdbool.h for consistent booleans | Mykyta Holubakha | 2018-07-13 |
| | |||
* | Create temporary directory under XDG_RUNTIME_DIR | Mykyta Holubakha | 2018-07-13 |
| | | | | | | fallback to /tmp closes #22 | ||
* | Install udev rules by default | Mykyta Holubakha | 2018-07-13 |
| | |||
* | Added flag to dissallow setting brightness to zero when using delta values (#21) | Thomas Ingram | 2018-06-25 |
| | | | | | | | | * Added flag never-zero that stops brightness being set to 0. * Updated README to show never-zero flag. * Replaced never-zero with min-value flag | ||
* | Add Void Linux package | Daniel Santana | 2018-04-24 |
| | |||
* | Revert manpage changes | Mykyta Holubakha | 2018-01-24 |
| | |||
* | Improved manpage | Mykyta Holubakha | 2018-01-24 |
| | | | | thanks @SirCmpwn | ||
* | Credit myself for the manpage | Nicolas Braud-Santoni | 2018-01-24 |
| | |||
* | Add brightnessctl(1) manpage | Nicolas Braud-Santoni | 2018-01-24 |
| | |||
* | Release 0.3.1 | Mykyta Holubakha | 2018-01-19 |
| | |||
* | README: mention Debian/Ubuntu packages | Mykyta Holubakha | 2018-01-19 |
| | |||
* | Allow to specify device name as a wildcard | Mykyta Holubakha | 2018-01-19 |
| | |||
* | Added swap files to gitignore | Mykyta Holubakha | 2018-01-19 |
| | |||
* | Specify -lm after the main executable symbol | Hummer12007 | 2017-10-23 |
| | | | | | Specifying it before may cause issues with some compilers Minor ws cleanup in makefile | ||
* | Use BINDIR in Makefile install rule | Miciah Masters | 2017-09-23 |
| | |||
* | Fix file mode for installing non-suid binary | Miciah Masters | 2017-09-23 |
| | | | | | Use the file mode 0755 (executable but not suid) when installing the binary with INSTALL_UDEV_RULES=1. | ||
* | Version bump to 0.3 | Mykyta Holubakha | 2017-09-22 |
| | | | | | | | | | | fixes #10 added an option to install udev rules (fixes #11) updated makefile to adhere to DESTDIR/PREFIX conventions updated README | ||
* | Fix rounding errors when using percentages | Markus Schneider | 2017-08-26 |
| | |||
* | Add --version flag | Christoph Gysin | 2017-07-28 |
| | |||
* | Add "info" operation and make it default | hcpl | 2017-07-28 |
| | | | | There should be an option to get a sole "current brightness" value. | ||
* | Update README | hcpl | 2017-07-28 |
| | |||
* | Add gitignore | Christoph Gysin | 2017-07-28 |
| | |||
* | Add comment to silence -Wimplicit-fallthrough | Christoph Gysin | 2017-07-28 |
| |