Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Change preserve option to command line switch | Jon Lund Steffensen | 2017-10-13 | 10 | -66/+67 |
| | | | | | | | | | | | | | | | | | Changes each adjustment method to take a preserve parameter when setting the temperature instead of parsing the preserve option from the command line/configuration file. This helps resolve the issues around #513: - This allows the preserve option to be implemented as a command-line switch (-P). This switch _disables_ the preservation of existing gamma ramps. Having a command-line switch makes it easier to use directly with manual or one-shot mode. - The preserve options is on by default, so continual mode as well as other modes will default to applying the color adjustment on top of the current gamma ramps. - Preserve is always disabled in reset mode so resetting works as expected again. | ||||
* | Merge pull request #535 from jonls/cleanup | Jon Lund Steffensen | 2017-10-13 | 24 | -1276/+1336 |
|\ | | | | | Cleanup redshift.c + modules + options | ||||
| * | Add function for resetting color_setting_t | Jon Lund Steffensen | 2017-10-13 | 1 | -11/+20 |
| | | |||||
| * | Move options handling to separate file | Jon Lund Steffensen | 2017-10-13 | 6 | -716/+870 |
| | | | | | | | | | | | | | | Create options.c which contains functions for initializing and parsing options from the command line and the configuration file. Program options that were previously local variables in main() are moved to the options_t struct. | ||||
| * | Move module structures out of headers | Jon Lund Steffensen | 2017-10-13 | 17 | -161/+109 |
| | | |||||
| * | Allocate module data in init functions | Jon Lund Steffensen | 2017-10-13 | 11 | -121/+138 |
| | | |||||
| * | Move module struct definitions to separate files | Jon Lund Steffensen | 2017-10-13 | 19 | -305/+237 |
|/ | |||||
* | Merge pull request #536 from jonls/gtk-help-args | Jon Lund Steffensen | 2017-10-13 | 1 | -0/+5 |
|\ | | | | | Add help message to redshift-gtk | ||||
| * | add help message to redshift-gtk | Samuel Walladge | 2017-10-13 | 1 | -0/+5 |
|/ | |||||
* | Merge pull request #432 from hanklank/master | Jon Lund Steffensen | 2017-10-13 | 1 | -141/+204 |
|\ | | | | | Updated Swedish translation | ||||
| * | Updated Swe translation - header changes | Josef Andersson | 2017-02-06 | 1 | -4/+6 |
| | | |||||
| * | Updated Swe translation | Josef Andersson | 2017-02-06 | 1 | -138/+199 |
| | | |||||
* | | Merge pull request #534 from jonls/fix-quartz | Jon Lund Steffensen | 2017-10-12 | 1 | -3/+4 |
|\ \ | | | | | | | quartz: Fix incorrect use of display identifier | ||||
| * | | quartz: Fix incorrect use of display identifier | Jon Lund Steffensen | 2017-10-12 | 1 | -3/+4 |
|/ / | | | | | | | | | | | The quartz (macOS) adjustment method incorrectly used the display index instead of the associated CGDirectDisplayID. Incidentally this happened to work too but was incorrect. | ||||
* | | Merge pull request #533 from jonls/fix-error-handling | Jon Lund Steffensen | 2017-10-12 | 1 | -1/+1 |
|\ \ | | | | | | | Fix bug where error code was not handled | ||||
| * | | Fix bug where error code was not handled | Jon Lund Steffensen | 2017-10-12 | 1 | -1/+1 |
|/ / | |||||
* | | Merge pull request #532 from jonls/fix-time-based | Jon Lund Steffensen | 2017-10-12 | 1 | -12/+17 |
|\ \ | | | | | | | Fix missing checks and verbose output | ||||
| * | | Fix missing checks and verbose output | Jon Lund Steffensen | 2017-10-12 | 1 | -12/+17 |
|/ / | | | | | | | | | | | | | Rearrange checks and verbose output in main() to bring back checks that were accidentally left out when time-based adjustments were enabled. This includes the output indicating the daytime/night temperatures and the check that the temperatures are valid. | ||||
* | | Merge pull request #531 from jonls/time-adjustment-docs | Jon Lund Steffensen | 2017-10-11 | 2 | -2/+27 |
|\ \ | | | | | | | Add documentation for time-based adjustment | ||||
| * | | Add dawn-time/dusk-time to sample config | Jon Lund Steffensen | 2017-10-11 | 1 | -0/+15 |
| | | | |||||
| * | | man: Add documentation for dawn-time/dusk-time | Jon Lund Steffensen | 2017-10-11 | 1 | -2/+12 |
| | | | |||||
* | | | Merge pull request #530 from jonls/ci-apparmor | Jon Lund Steffensen | 2017-10-11 | 1 | -1/+1 |
|\ \ \ | |/ / |/| | | Travis: Enable AppArmor install | ||||
| * | | Travis: Enable AppArmor install | Jon Lund Steffensen | 2017-10-11 | 1 | -1/+1 |
|/ / | |||||
* | | Merge pull request #529 from jonls/time-based-adjustment | Jon Lund Steffensen | 2017-10-11 | 3 | -78/+286 |
|\ \ | | | | | | | Time-based adjustment | ||||
| * | | Check time-based configuration on CI | Jon Lund Steffensen | 2017-10-11 | 2 | -0/+12 |
| | | | |||||
| * | | Time-based configuration | Jon Lund Steffensen | 2017-10-11 | 1 | -78/+274 |
| | | | | | | | | | | | | | | | | | | | | | | | | Allow setting the time of the dawn and dusk transition periods directly in the configuration file. If these are specified, the location provider is not needed and is therefore not initialized. Based on patch by Martin Nicolay <edelschimmel1@gmx.de>. | ||||
* | | | Merge pull request #528 from CameronNemo/apparmor | Jon Lund Steffensen | 2017-10-11 | 4 | -2/+77 |
|\ \ \ | |/ / |/| | | Add AppArmor profile | ||||
| * | | Add AppArmor profile | Cameron Norman | 2017-10-10 | 4 | -2/+77 |
|/ / | |||||
* | | Merge pull request #527 from jonls/fix-osx-build | Jon Lund Steffensen | 2017-10-10 | 1 | -0/+1 |
|\ \ | | | | | | | Travis CI: Run brew update on macOS to fix build failure | ||||
| * | | Travis CI: Run brew update on macOS to fix build failure | Jon Lund Steffensen | 2017-10-10 | 1 | -0/+1 |
|/ / | |||||
* | | Merge pull request #524 from dev7355608/w32gdi | Jon Lund Steffensen | 2017-10-10 | 1 | -5/+15 |
|\ \ | | | | | | | Fix #523: Retry SetDeviceGammaRamp before giving up | ||||
| * | | Fix #523: Retry SetDeviceGammaRamp before giving up | dev7355608 | 2017-09-27 | 1 | -5/+15 |
|/ / | | | | | | | | | | | We have to retry SetDeviceGammaRamp a few times before giving up because some buggy drivers fail on the first invocation just to succeed on the second. | ||||
* | | Merge pull request #511 from jonls/preserve-by-default | Jon Lund Steffensen | 2017-08-31 | 4 | -4/+4 |
|\ \ | | | | | | | Preserve gamma ramps by default | ||||
| * | | w32gdi: Enable preserve by default | Jon Lund Steffensen | 2017-08-31 | 1 | -1/+1 |
| | | | |||||
| * | | vidmode: Enable preserve by default | Jon Lund Steffensen | 2017-08-31 | 1 | -1/+1 |
| | | | |||||
| * | | randr: Enable preserve by default | Jon Lund Steffensen | 2017-08-31 | 1 | -1/+1 |
| | | | |||||
| * | | quartz: Enable preserve by default | Jon Lund Steffensen | 2017-08-31 | 1 | -1/+1 |
|/ / | |||||
* | | Merge pull request #510 from jonls/fix-config | Jon Lund Steffensen | 2017-08-30 | 1 | -5/+4 |
|\ \ | | | | | | | Fix #509: Set screen 0 in sample config | ||||
| * | | Fix #509: Set screen 0 in sample config | Jon Lund Steffensen | 2017-08-30 | 1 | -5/+4 |
|/ / | |||||
* | | Merge pull request #508 from jonls/improve-fade | Jon Lund Steffensen | 2017-08-30 | 1 | -117/+164 |
|\ \ | | | | | | | redshift: Improve fade implementation | ||||
| * | | redshift: Improve fade implementation | Jon Lund Steffensen | 2017-08-30 | 1 | -117/+164 |
|/ / | | | | | | | | | | | | | | | | | | | Simplify implementation of fades in continual mode. A fade is now applied anytime the change in color temperature, brightness or gamma is greater than a preset threshold. This means that a fade is applied if the location provider suddenly updates to a new location or if the currently time suddenly jumps e.g. after waking up the computer from sleep. An easing function is applied to the fade to make it more pleasant. | ||||
* | | Merge pull request #507 from jonls/fade-term | Jon Lund Steffensen | 2017-08-30 | 3 | -27/+27 |
|\ \ | | | | | | | Use the term "fade" instead of "transition" for the short (~5s) fade between color temperatures | ||||
| * | | Update man page | Jon Lund Steffensen | 2017-08-30 | 1 | -3/+4 |
| | | | |||||
| * | | Update sample config file | Jon Lund Steffensen | 2017-08-30 | 1 | -4/+4 |
| | | | |||||
| * | | Change term transition to fade | Jon Lund Steffensen | 2017-08-30 | 1 | -20/+19 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the term "fade" instead of "transition" for the short (~5s) fade between color temperatures. The term "transition" is now only used for the transition phase between daytime and night. The setting "transition" in the configuration file is now deprecated and "fade" should be used instead. | ||||
* | | | Merge pull request #504 from jonls/geoclue-update | Jon Lund Steffensen | 2017-08-30 | 2 | -7/+43 |
|\ \ \ | |/ / |/| | | GeoClue: better error message when access is denied | ||||
| * | | README: Add FAQ entry on GeoClue access denied | Jon Lund Steffensen | 2017-08-19 | 1 | -1/+15 |
| | | | |||||
| * | | geoclue2: Show explanation of access denied error | Jon Lund Steffensen | 2017-08-19 | 1 | -0/+22 |
| | | | |||||
| * | | geoclue2: Use existing connection object | Jon Lund Steffensen | 2017-08-19 | 1 | -6/+6 |
|/ / | | | | | | | Use existing connection object when creating proxies. | ||||
* | | Merge pull request #500 from jonls/continuous-location | Jon Lund Steffensen | 2017-08-19 | 14 | -283/+843 |
|\ \ | | | | | | | Continuous location updates |