Commit Graph
615 Commits
Author SHA1 Message Date
Jon Lund Steffensen a27cb72975 Travis CI: Run brew update on macOS to fix build failure 2017-10-10 20:49:10 -07:00
Jon Lund Steffensen ad7444e337 Merge pull request #524 from dev7355608/w32gdi
Fix #523: Retry SetDeviceGammaRamp before giving up
2017-10-10 19:19:33 -07:00
dev7355608 d9d7218cc8 Fix #523: Retry SetDeviceGammaRamp before giving up
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.
2017-09-27 16:20:47 +02:00
Jon Lund Steffensen 55c3c1fbeb Merge pull request #511 from jonls/preserve-by-default
Preserve gamma ramps by default
2017-08-31 14:38:58 -07:00
Jon Lund Steffensen d0135df859 w32gdi: Enable preserve by default 2017-08-31 01:54:09 -07:00
Jon Lund Steffensen 989fe52176 vidmode: Enable preserve by default 2017-08-31 01:53:59 -07:00
Jon Lund Steffensen dcafe503d3 randr: Enable preserve by default 2017-08-31 01:53:49 -07:00
Jon Lund Steffensen ce430bb52e quartz: Enable preserve by default 2017-08-31 01:53:39 -07:00
Jon Lund Steffensen 192544b488 Merge pull request #510 from jonls/fix-config
Fix #509: Set screen 0 in sample config
2017-08-30 22:29:40 -07:00
Jon Lund Steffensen 63d69847e6 Fix #509: Set screen 0 in sample config 2017-08-30 21:31:23 -07:00
Jon Lund Steffensen 7b6a27e3c1 Merge pull request #508 from jonls/improve-fade
redshift: Improve fade implementation
2017-08-30 20:27:23 -07:00
Jon Lund Steffensen d8f04b9020 redshift: Improve fade implementation
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.
2017-08-30 17:12:56 -07:00
Jon Lund Steffensen a33d5e237e Merge pull request #507 from jonls/fade-term
Use the term "fade" instead of "transition" for the short (~5s) fade between color temperatures
2017-08-30 17:04:22 -07:00
Jon Lund Steffensen 2ecf92c1b2 Merge pull request #504 from jonls/geoclue-update
GeoClue: better error message when access is denied
2017-08-30 15:35:39 -07:00
Jon Lund Steffensen 910750e013 Update man page 2017-08-30 15:30:13 -07:00
Jon Lund Steffensen c5a9ea7059 Update sample config file 2017-08-30 15:27:07 -07:00
Jon Lund Steffensen 8165badbc2 Change term transition to fade
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.
2017-08-30 15:21:43 -07:00
Jon Lund Steffensen 3000d0ad64 README: Add FAQ entry on GeoClue access denied 2017-08-19 17:52:47 -07:00
Jon Lund Steffensen c4e0f3aa5a geoclue2: Show explanation of access denied error 2017-08-19 17:39:05 -07:00
Jon Lund Steffensen 52d9a73d36 geoclue2: Use existing connection object
Use existing connection object when creating proxies.
2017-08-19 17:37:49 -07:00
Jon Lund Steffensen 71e1de2d33 Merge pull request #500 from jonls/continuous-location
Continuous location updates
2017-08-19 11:56:11 -07:00
Jon Lund Steffensen c129e59b3a Appveyor, Travis: Test run redshift after build 2017-08-17 20:24:32 -07:00
Jon Lund Steffensen 00e2d538e8 geoclue2: Update continuously 2017-08-17 20:24:32 -07:00
Jon Lund Steffensen df10508e30 corelocation: Update continuously 2017-08-17 20:24:32 -07:00
Jon Lund Steffensen ce037545dd pipeutils: Add utils for pipe signals
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.
2017-08-17 19:52:29 -07:00
Jon Lund Steffensen 153dec0e21 Change location providers to allow updates
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.
2017-08-17 19:52:29 -07:00
Jon Lund Steffensen 25451b14d0 Merge pull request #498 from jonls/osx-travis
Enable Travis CI on macOS
2017-08-16 23:47:56 -07:00
Jon Lund Steffensen 7037c781e0 Enable Travis CI on macOS 2017-08-16 23:35:28 -07:00
Jon Lund Steffensen 545bb59149 Merge pull request #497 from jonls/remove-geoclue-1
Remove deprecated GeoClue 1 location provider
2017-08-16 20:57:25 -07:00
Jon Lund Steffensen 4adb93a448 Remove deprecated geoclue 1 location provider 2017-08-16 20:46:53 -07:00
Jon Lund Steffensen ee4ce47d1b Merge pull request #494 from jonls/contributing
Rename HACKING.md to CONTRIBUTING.md
2017-08-14 15:31:52 -07:00
Jon Lund Steffensen 3d2e9b72d0 Rename HACKING.md to CONTRIBUTING.md 2017-08-14 15:10:12 -07:00
Jon Lund Steffensen ed26b6ddfb Merge pull request #493 from jonls/fix-xdg
Fix #492: Correctly import xdg modules
2017-08-07 12:32:28 -07:00
Jon Lund Steffensen 74759e8dfb Fix #492: Correctly import xdg modules
Although not named like modules, the BaseDirectory and
DesktopEntry are really submodules of xdg that need to be imported
for them to be available.
2017-08-07 12:20:49 -07:00
Jon Lund Steffensen 329873efd1 Merge pull request #490 from jonls/windows-resources
Add icon for Windows build
2017-08-01 00:54:21 -07:00
Jon Lund Steffensen ee14db4a7f Merge pull request #491 from jonls/python-controller
Updates to redshift-gtk
2017-07-30 20:41:23 -07:00
Jon Lund Steffensen a39e92cc4b statusicon: Use GtkWindow to avoid warnings
Avoids warnings generated when a GtkDialog is used without a
parent window. Also adds fixes for #220 using a solution provided
by agnivade.
2017-07-30 20:21:52 -07:00
Jon Lund Steffensen d84e7b1b3f statusicon: Only add autostart control when supported 2017-07-30 20:21:52 -07:00
Jon Lund Steffensen 7e9886cd68 controller: Emit signal when stopped 2017-07-30 20:21:52 -07:00
Jon Lund Steffensen f3a8ef54c4 utils: Make xdg module optional 2017-07-30 20:14:40 -07:00
Jon Lund Steffensen 3ea717011e Move RedshiftController to controller.py 2017-07-30 18:31:12 -07:00
Jon Lund Steffensen 4e6f2fa7ab Add Windows resources 2017-07-30 15:39:08 -07:00
Jon Lund Steffensen 944bd07956 Appveyor: Change to use MSYSTEM with MSYS to get correct MinGW tools
This fixes an issue where the configure script would prefer the tools
in c:\msys64\usr\bin instead of the MinGW tools. This specifially
failed when searching for windres while cross-compiling for i686
because the tool found in c:\msys64\usr\bin would generate 64-bit
object files.
2017-07-30 15:33:53 -07:00
Jon Lund Steffensen 930225ff2b Merge pull request #489 from jonls/appveyor-distcheck
Appveyor: Run distcheck and improve zip package
2017-07-30 12:36:20 -07:00
Jon Lund Steffensen 23d20e1422 Appveyor: Create zip package with txt files
Renames various text files to .txt extension to make it easier to
open these files on Windows. Also bundles the sample configuration
file.
2017-07-30 12:24:19 -07:00
Jon Lund Steffensen 07c413d705 Appveyor: Run distcheck as part of build
This ensures that all files required for Windows build are correctly
bundled in the source archive produced by autotools.
2017-07-30 12:19:07 -07:00
Jon Lund Steffensen 319ea3e68e Merge branch 'appveyor-x86-builds' 2017-07-30 11:01:11 -07:00
manuc66 2a25386946 AppVeyor: Build for 32-bit Windows 2017-07-30 10:56:53 -07:00
Jon Lund Steffensen 619c774252 README: Only link to AppVeyor artifacts from master 2017-07-29 18:01:25 -07:00
Jon Lund Steffensen cf588a6ff2 Merge pull request #481 from faheel/format-help-text
Formatted help text paragraph to 80 chars max
2017-07-29 16:25:36 -07:00