Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update formatting | Thomas Voss | 2022-12-08 | 1 | -3/+3 |
| | |||||
* | Add a LIBRARY section to lux.h(3head)v1.0.2 | Thomas Voss | 2022-11-17 | 1 | -0/+2 |
| | |||||
* | Uppercase the arguments to .Dt | Thomas Voss | 2022-11-17 | 1 | -1/+1 |
| | |||||
* | Match lux.h.3head, not lux.h.0v1.0.1 | Thomas Voss | 2022-11-17 | 1 | -1/+2 |
| | |||||
* | Remove redundant compiler flag | Thomas Voss | 2022-11-17 | 1 | -2/+1 |
| | | | | | | The -fomit-frame-pointer optimization is already enabled at -O1 and we are compiling with -O3, so this is not something we need to manually specify. | ||||
* | Don't check for O_PATH being defined | Thomas Voss | 2022-11-17 | 3 | -7/+2 |
| | | | | | | | | O_PATH has been in Linux since version 2.6.39, which was a very long time ago. Additionally, this library only works on Linux anyways since the interface to backlight information is Linux-specific. Therefore we have no real reason to bother with handling the case where it's not defined. | ||||
* | Use LIBLUX_ as a macro prefix | Thomas Voss | 2022-11-17 | 3 | -12/+12 |
| | |||||
* | Formatting fix | Thomas Voss | 2022-11-17 | 1 | -6/+6 |
| | |||||
* | Use compact lists | Thomas Voss | 2022-11-17 | 1 | -3/+6 |
| | |||||
* | Make use of the new 3head section | Thomas Voss | 2022-11-17 | 5 | -16/+17 |
| | |||||
* | Set the OS to Linux | Thomas Voss | 2022-11-14 | 4 | -8/+8 |
| | | | | | This library interacts with the Linux-specific sysfs(5), so we should specify that it is Linux specific. | ||||
* | Use link time optimizations | Thomas Voss | 2022-11-14 | 1 | -1/+1 |
| | |||||
* | Properly update mdoc.local | Thomas Voss | 2022-10-15 | 1 | -3/+4 |
| | |||||
* | Actually cleanup after ourselvesv1.0.0 | Thomas Voss | 2022-10-13 | 1 | -2/+7 |
| | |||||
* | Fix broken install paths | Thomas Voss | 2022-10-13 | 1 | -3/+3 |
| | |||||
* | Ignore the .tup/ folder | Thomas Voss | 2022-10-13 | 1 | -0/+1 |
| | |||||
* | Escape backticks | Thomas Voss | 2022-10-13 | 1 | -1/+1 |
| | |||||
* | Link to lux.h(0) | Thomas Voss | 2022-10-13 | 1 | -3/+3 |
| | |||||
* | Update compilation instructions | Thomas Voss | 2022-10-13 | 1 | -2/+3 |
| | |||||
* | Document the change from struct luxdisp to lux_t | Thomas Voss | 2022-10-13 | 4 | -39/+39 |
| | |||||
* | Move from make(1) to tup(1) | Thomas Voss | 2022-10-13 | 4 | -23/+34 |
| | |||||
* | Move functions to their own files | Thomas Voss | 2022-10-13 | 15 | -224/+468 |
| | | | | | | Also we move the source code to a src/ directory. We also move from using `struct luxdisp` to `lux_t` to signify that we don’t want the user to be messing with the struct members. | ||||
* | Update my email-address | Thomas Voss | 2022-10-01 | 4 | -8/+8 |
| | |||||
* | Change write location of Lb-desc.tmac | Thomas Voss | 2022-09-21 | 1 | -1/+1 |
| | | | | | | | It does totally work to write the contents of man/Lb-desc.tmac to the doc-syms file; the intended way however is to write to the man.local and mdoc.local files. Since these manuals use mandoc, we write to mdoc.local. | ||||
* | Add a library manual | Thomas Voss | 2022-09-21 | 2 | -2/+109 |
| | |||||
* | Add more words to dictionary | Thomas Voss | 2022-09-21 | 2 | -2/+14 |
| | |||||
* | Add a LIBRARY section to manuals | Thomas Voss | 2022-09-21 | 5 | -3/+20 |
| | |||||
* | Add the final manuals | Thomas Voss | 2022-09-10 | 6 | -0/+259 |
| | |||||
* | Fix typos | Thomas Voss | 2022-09-09 | 2 | -11/+11 |
| | |||||
* | Use aspell(1) for spell checking | Thomas Voss | 2022-09-09 | 3 | -0/+37 |
| | |||||
* | Add manual pages for 3 more functions | Thomas Voss | 2022-09-08 | 3 | -0/+183 |
| | |||||
* | Fix vi modeline | Thomas Voss | 2022-09-08 | 2 | -3/+3 |
| | |||||
* | Add manuals for luxfree() and luxinit() | Thomas Voss | 2022-08-30 | 2 | -0/+135 |
| | |||||
* | Add a README | Thomas Voss | 2022-08-27 | 1 | -0/+40 |
| | |||||
* | Add C++ compatibility | Thomas Voss | 2022-08-27 | 1 | -0/+8 |
| | |||||
* | Add more library functions | Thomas Voss | 2022-08-27 | 2 | -24/+71 |
| | | | | | | | | | | | | | | | | | With this commit, the following functions have been added to the library: - int luxinc(struct luxdisp *, int) | Increment brightness by a raw value - int luxdec(struct luxdisp *, int) | Decrement brightness by a raw value - double luxgetp(struct luxdisp *) | Get the current brightness as a percentage - double luxsetp(struct luxdisp *, double) | Set the current brightness with a percentage - double luxincp(struct luxdisp *, double) | Increment brightness by a percentage - double luxdecp(struct luxdisp *, double) | Decrement brightness by a percentage | ||||
* | Add gitignore | Thomas Voss | 2022-08-27 | 1 | -0/+2 |
| | |||||
* | Add source code files in their uncompleted state | Thomas Voss | 2022-08-09 | 2 | -0/+204 |
| | | | | | | | | | | The current state of the library contains support for the following functions: - int luxinit(struct luxdisp *) | Init a luxdisp struct - int luxget(struct luxdisp *) | Get the current brightness - int luxset(struct luxdisp *, int) | Set the current brightness - int luxmax(struct luxdisp *) | Get the maximum brightness - void luxfree(struct luxdisp *) | Free a luxdisp struct | ||||
* | Add Makefile | Thomas Voss | 2022-08-09 | 1 | -0/+27 |
| | |||||
* | Add license file | Thomas Voss | 2022-08-09 | 1 | -0/+14 |