aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* quartz: Fix incorrect use of display identifierJon Lund Steffensen2017-10-121-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-handlingJon Lund Steffensen2017-10-121-1/+1
|\ | | | | Fix bug where error code was not handled
| * Fix bug where error code was not handledJon Lund Steffensen2017-10-121-1/+1
|/
* Merge pull request #532 from jonls/fix-time-basedJon Lund Steffensen2017-10-121-12/+17
|\ | | | | Fix missing checks and verbose output
| * Fix missing checks and verbose outputJon Lund Steffensen2017-10-121-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-docsJon Lund Steffensen2017-10-112-2/+27
|\ | | | | Add documentation for time-based adjustment
| * Add dawn-time/dusk-time to sample configJon Lund Steffensen2017-10-111-0/+15
| |
| * man: Add documentation for dawn-time/dusk-timeJon Lund Steffensen2017-10-111-2/+12
| |
* | Merge pull request #530 from jonls/ci-apparmorJon Lund Steffensen2017-10-111-1/+1
|\ \ | |/ |/| Travis: Enable AppArmor install
| * Travis: Enable AppArmor installJon Lund Steffensen2017-10-111-1/+1
|/
* Merge pull request #529 from jonls/time-based-adjustmentJon Lund Steffensen2017-10-113-78/+286
|\ | | | | Time-based adjustment
| * Check time-based configuration on CIJon Lund Steffensen2017-10-112-0/+12
| |
| * Time-based configurationJon Lund Steffensen2017-10-111-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/apparmorJon Lund Steffensen2017-10-114-2/+77
|\ \ | |/ |/| Add AppArmor profile
| * Add AppArmor profileCameron Norman2017-10-104-2/+77
|/
* Merge pull request #527 from jonls/fix-osx-buildJon Lund Steffensen2017-10-101-0/+1
|\ | | | | Travis CI: Run brew update on macOS to fix build failure
| * Travis CI: Run brew update on macOS to fix build failureJon Lund Steffensen2017-10-101-0/+1
|/
* Merge pull request #524 from dev7355608/w32gdiJon Lund Steffensen2017-10-101-5/+15
|\ | | | | Fix #523: Retry SetDeviceGammaRamp before giving up
| * Fix #523: Retry SetDeviceGammaRamp before giving updev73556082017-09-271-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-defaultJon Lund Steffensen2017-08-314-4/+4
|\ | | | | Preserve gamma ramps by default
| * w32gdi: Enable preserve by defaultJon Lund Steffensen2017-08-311-1/+1
| |
| * vidmode: Enable preserve by defaultJon Lund Steffensen2017-08-311-1/+1
| |
| * randr: Enable preserve by defaultJon Lund Steffensen2017-08-311-1/+1
| |
| * quartz: Enable preserve by defaultJon Lund Steffensen2017-08-311-1/+1
|/
* Merge pull request #510 from jonls/fix-configJon Lund Steffensen2017-08-301-5/+4
|\ | | | | Fix #509: Set screen 0 in sample config
| * Fix #509: Set screen 0 in sample configJon Lund Steffensen2017-08-301-5/+4
|/
* Merge pull request #508 from jonls/improve-fadeJon Lund Steffensen2017-08-301-117/+164
|\ | | | | redshift: Improve fade implementation
| * redshift: Improve fade implementationJon Lund Steffensen2017-08-301-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-termJon Lund Steffensen2017-08-303-27/+27
|\ | | | | Use the term "fade" instead of "transition" for the short (~5s) fade between color temperatures
| * Update man pageJon Lund Steffensen2017-08-301-3/+4
| |
| * Update sample config fileJon Lund Steffensen2017-08-301-4/+4
| |
| * Change term transition to fadeJon Lund Steffensen2017-08-301-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-updateJon Lund Steffensen2017-08-302-7/+43
|\ \ | |/ |/| GeoClue: better error message when access is denied
| * README: Add FAQ entry on GeoClue access deniedJon Lund Steffensen2017-08-191-1/+15
| |
| * geoclue2: Show explanation of access denied errorJon Lund Steffensen2017-08-191-0/+22
| |
| * geoclue2: Use existing connection objectJon Lund Steffensen2017-08-191-6/+6
|/ | | | Use existing connection object when creating proxies.
* Merge pull request #500 from jonls/continuous-locationJon Lund Steffensen2017-08-1914-283/+843
|\ | | | | Continuous location updates
| * Appveyor, Travis: Test run redshift after buildJon Lund Steffensen2017-08-172-4/+17
| |
| * geoclue2: Update continuouslyJon Lund Steffensen2017-08-173-100/+209
| |
| * corelocation: Update continuouslyJon Lund Steffensen2017-08-174-62/+173
| |
| * pipeutils: Add utils for pipe signalsJon Lund Steffensen2017-08-173-0/+127
| | | | | | | | | | | | | | Add pipeutils.c with utility functions for working with pipes as signals across threads. Using pipes for signals makes it easy for the main thread to wait on (multiple) file descriptors with or without a timeout.
| * Change location providers to allow updatesJon Lund Steffensen2017-08-178-182/+382
|/ | | | | | | Change location provider implementations so it is possible for location providers to dynamically update the location. This commit adds the interfaces and infrastructure in redshift.c but none of the location provides are changed to become dynamic.
* Merge pull request #498 from jonls/osx-travisJon Lund Steffensen2017-08-161-4/+13
|\ | | | | Enable Travis CI on macOS
| * Enable Travis CI on macOSJon Lund Steffensen2017-08-161-4/+13
|/
* Merge pull request #497 from jonls/remove-geoclue-1Jon Lund Steffensen2017-08-1611-358/+60
|\ | | | | Remove deprecated GeoClue 1 location provider
| * Remove deprecated geoclue 1 location providerJon Lund Steffensen2017-08-1611-358/+60
|/
* Merge pull request #494 from jonls/contributingJon Lund Steffensen2017-08-144-3/+2
|\ | | | | Rename HACKING.md to CONTRIBUTING.md
| * Rename HACKING.md to CONTRIBUTING.mdJon Lund Steffensen2017-08-144-3/+2
|/
* Merge pull request #493 from jonls/fix-xdgJon Lund Steffensen2017-08-071-9/+11
|\ | | | | Fix #492: Correctly import xdg modules
| * Fix #492: Correctly import xdg modulesJon Lund Steffensen2017-08-071-9/+11
|/ | | | | | Although not named like modules, the BaseDirectory and DesktopEntry are really submodules of xdg that need to be imported for them to be available.