Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | 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 |
| | |||||
* | 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 | 1 | -20/+19 |
|\ | | | | | Use the term "fade" instead of "transition" for the short (~5s) fade between color temperatures | ||||
| * | 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. | ||||
* | | 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. | ||||
* | geoclue2: Update continuously | Jon Lund Steffensen | 2017-08-17 | 3 | -100/+209 |
| | |||||
* | corelocation: Update continuously | Jon Lund Steffensen | 2017-08-17 | 3 | -61/+172 |
| | |||||
* | pipeutils: Add utils for pipe signals | Jon Lund Steffensen | 2017-08-17 | 3 | -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 updates | Jon Lund Steffensen | 2017-08-17 | 8 | -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. | ||||
* | Remove deprecated geoclue 1 location provider | Jon Lund Steffensen | 2017-08-16 | 4 | -301/+7 |
| | |||||
* | Fix #492: Correctly import xdg modules | Jon Lund Steffensen | 2017-08-07 | 1 | -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. | ||||
* | Merge pull request #490 from jonls/windows-resources | Jon Lund Steffensen | 2017-08-01 | 4 | -2/+34 |
|\ | | | | | Add icon for Windows build | ||||
| * | Add Windows resources | Jon Lund Steffensen | 2017-07-30 | 4 | -2/+34 |
| | | |||||
* | | statusicon: Use GtkWindow to avoid warnings | Jon Lund Steffensen | 2017-07-30 | 1 | -12/+20 |
| | | | | | | | | | | | | Avoids warnings generated when a GtkDialog is used without a parent window. Also adds fixes for #220 using a solution provided by agnivade. | ||||
* | | statusicon: Only add autostart control when supported | Jon Lund Steffensen | 2017-07-30 | 1 | -10/+11 |
| | | |||||
* | | controller: Emit signal when stopped | Jon Lund Steffensen | 2017-07-30 | 2 | -2/+9 |
| | | |||||
* | | utils: Make xdg module optional | Jon Lund Steffensen | 2017-07-30 | 1 | -7/+25 |
| | | |||||
* | | Move RedshiftController to controller.py | Jon Lund Steffensen | 2017-07-30 | 3 | -251/+296 |
|/ | |||||
* | Limit lines to 80 chars | Faheel Ahmad | 2017-07-29 | 1 | -4/+4 |
| | |||||
* | Fix #474: Format help text paragraph to 80 chars max | Faheel Ahmad | 2017-07-27 | 1 | -4/+3 |
| | |||||
* | Merge pull request #420 from jonls/default-temperature | Jon Lund Steffensen | 2017-01-14 | 1 | -2/+2 |
|\ | | | | | redshift.c: Use 6500K and 4500K by default | ||||
| * | redshift.c: Use 6500K and 4500K by default | Jon Lund Steffensen | 2017-01-08 | 1 | -2/+2 |
| | | |||||
* | | Merge pull request #421 from jonls/randr-adjust-multiple | Jon Lund Steffensen | 2017-01-14 | 2 | -9/+59 |
|\ \ | |/ |/| | XRandR: Allow multiple but not all CRTCs to be redshifted | ||||
| * | XRandR: Allow multiple but not all CRTCs to be redshifted | Lennart Sauerbeck | 2017-01-08 | 2 | -9/+59 |
| | | | | | | | | | | | | | | | | | | | | | | | | Previously only one CRTC could be set in the configuration file for redshifting when XRandR mechanism was being used. That is fine for a setup with two displays but breaks when three or more displays are in use and one of those shouldn't be redshifted (e.g. two computer displays and one TV connected to the computer). The config value 'crtc' for method xrandr can now be entered as comma separated list of multiple CRTCs. All CRTCs in the list will be redshifted while all those not in the list will not be touched. | ||||
* | | Fix Windows build after e0a617fcada616a8112f7d9df51ac10bd58130af | Arne Janbu | 2016-10-19 | 2 | -2/+7 |
|/ | |||||
* | Merge pull request #383 from jonls/icon-tooltip | Jon Lund Steffensen | 2016-10-15 | 1 | -0/+8 |
|\ | | | | | add display of color temperature and period in the tooltip status icon | ||||
| * | add display of color temperature and period in the tooltip status icon | Andreev Alexander | 2016-10-15 | 1 | -0/+8 |
| | | |||||
* | | drm: Avoid using alloca() | Jon Lund Steffensen | 2016-10-15 | 1 | -2/+3 |
|/ | |||||
* | redshift-gtk: Make sure that child process is closed after signals | Jon Lund Steffensen | 2016-01-02 | 1 | -27/+30 |
| | | | | | | | | Instead of calling sys.exit() the signal handlers now try to terminate the child process. After the child exits, the process will be reaped by the GLib callback which will call Gtk.main_quit() which will then quit redshift-gtk. This ensures that the redshift process does not outlive the redshift-gtk process. | ||||
* | Fix #213: Merge branch 'pull-213' | Jon Lund Steffensen | 2015-12-28 | 4 | -69/+149 |
|\ | |||||
| * | Move signal processing functions and sigaction calls to signals from redshift.c | Mattias Andrée | 2015-12-28 | 4 | -72/+152 |
| | | | | | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | | Merge pull request #244 from jubalh/master | Jon Lund Steffensen | 2015-12-28 | 5 | -8/+8 |
|\ \ | | | | | | | Remove trailing whitespaces | ||||
| * | | Remove trailing whitespaces | Michael Vetter | 2015-08-04 | 5 | -8/+8 |
| |/ | |||||
* | | Fallback if AppIndicator3 req. version unavailable | Javier Cantero | 2015-11-15 | 1 | -1/+1 |
| | | | | | | | | | | Catch in the except block the case when the required version of Appindicator3 is not available to also fallback in GtkStatusIcon widget. | ||||
* | | Also specify required AppIndicator3 version | Javier Cantero | 2015-11-14 | 1 | -0/+1 |
| | | | | | | | | | | Avoid another GObject Introspection warning in redshift-gtk by providing the required version of AppIndicator3 before import it. | ||||
* | | Specify required Gtk version | Christian Stadelmann | 2015-11-03 | 1 | -0/+3 |
|/ | | | This fixes a warning when starting redshift-gtk with gtk 3.18. | ||||
* | Merge pull request #197 from forivall/clamp-fix | Jon Lund Steffensen | 2015-05-10 | 1 | -7/+3 |
|\ | | | | | Fix clamp issues | ||||
| * | Fix CLAMP macro overwritten by glib headers | Jordan Klassen | 2015-05-02 | 1 | -7/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #188 When I moved the macro definition below all of the includes, I got the following compiler warning: /usr/include/glib-2.0/glib/gmacros.h:246:0: note: this is the location of the previous definition #define CLAMP(x, low, high) (((x) > (high)) ? (high) : (((x) < (low)) ? (low) : (x))) So, that's the macro definition that was being used whenever "CLAMP" was used. It's pretty obvious what went wrong. | ||||
* | | remove unnecessary null-checks, it is safe to pass NULL to free (per documentation) | Mattias Andrée | 2015-05-07 | 3 | -6/+5 |
|/ | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | ||||
* | Fix #174: Use nanosleep() instead of usleep() | Jon Lund Steffensen | 2015-02-22 | 1 | -1/+5 |
| | | | | | usleep() cannot sleep for more than 1000000 microseconds on certain platforms. nanosleep() does not have this limitation. | ||||
* | Fix #162: Ensure that interpolation alpha is in [0;1] | Jon Lund Steffensen | 2015-01-15 | 1 | -3/+5 |
| | |||||
* | fixes jonls/redshift#157 introduced by jonls/redshift@f9c2a1568c308ec69970662a8f5ceb8726e8d8cc | Christian Burger | 2015-01-10 | 1 | -2/+2 |
| | |||||
* | redshift: Add print_location() function | Jon Lund Steffensen | 2015-01-04 | 1 | -17/+22 |
| | |||||
* | w32gdi: Add preserve option to windows GDI method | Jon Lund Steffensen | 2015-01-04 | 2 | -7/+30 |
| | |||||
* | vidmode: Add preserve option to VidMode method | Jon Lund Steffensen | 2015-01-04 | 2 | -7/+22 |
| |