Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Do not segfault just because an error has not been given | Mattias Andrée | 2014-04-11 | 1 | -6/+14 | |
| | | | | | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | | Fix #66: Do not distribute redshift-gtk, only redshift-gtk.in | Jon Lund Steffensen | 2014-04-13 | 1 | -1/+1 | |
| | | ||||||
* | | Fix #67: Geoclue should pull in Glib as dependency | Jon Lund Steffensen | 2014-04-13 | 1 | -1/+4 | |
| | | | | | | | | | | Add checks in configure.ac for Glib and pull in through Makefile.am when Geoclue support is enabled. | |||||
* | | redshift-gtk: Fix crash when toggling state using the status icon | Jon Lund Steffensen | 2014-04-11 | 1 | -1/+5 | |
|/ | ||||||
* | Fix #22: remove initial underscore from include guards | Jon Lund Steffensen | 2014-03-23 | 12 | -36/+36 | |
| | ||||||
* | [redshift-gtk] Add BSD support to proc title setting | Philipp Hagemeister | 2014-03-23 | 1 | -9/+20 | |
| | ||||||
* | Fix #40: redshift-gtk: toggle_item is checkbox that follows the icon | Mattias Andrée | 2014-03-23 | 1 | -6/+8 | |
| | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | Merge pull request #46 from maandree/gamma | Jon Lund Steffensen | 2014-03-23 | 1 | -6/+5 | |
|\ | | | | | Apply gamma after brightness and temperature | |||||
| * | Apply gamma after brightness and termperature | Mattias Andrée | 2014-03-18 | 1 | -6/+5 | |
| | | | | | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | | Merge pull request #42 from maandree/gamma-drm | Jon Lund Steffensen | 2014-03-22 | 5 | -1/+366 | |
|\ \ | | | | | | | Support for running Redshift outside X using libdrm | |||||
| * | | Support for running Redshift without a graphical environment in Linux by using Direct Rendering Manager | Mattias Andrée | 2014-03-22 | 5 | -1/+366 | |
| |/ | | | | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | | Makefile.am: Substitute AM_CPPFLAGS for deprecated INCLUDES | Jon Lund Steffensen | 2014-03-22 | 1 | -1/+1 | |
| | | ||||||
* | | [gtk] Set proc title | Philipp Hagemeister | 2014-03-17 | 2 | -0/+17 | |
|/ | | | | | Try to set the process title during startup. Before, redshift-gtk appeared as a python process. This change enables `pgrep redshift-gtk` or `killall redshift-gtk`. | |||||
* | Merge remote-tracking branch 'maandree/leaks' | Jon Lund Steffensen | 2014-03-13 | 2 | -0/+6 | |
|\ | ||||||
| * | Free resources from config-ini.c on exit | Mattias Andrée | 2014-03-13 | 2 | -0/+6 | |
| | | | | | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | | config-ini: Simplify file path construction for XDG_CONFIG_DIRS | Jon Lund Steffensen | 2014-03-13 | 1 | -17/+29 | |
| | | | | | | | | Add comment pointing to the XDG Base Directory Specification. | |||||
* | | fopen directly instead of stat:ing | Mattias Andrée | 2014-03-13 | 1 | -25/+14 | |
| | | | | | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | | Look for configuration file in XDG_CONFIG_DIRS and /etc | Mattias Andrée | 2014-03-11 | 1 | -3/+30 | |
| | | | | | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | | When looking for a redshift.conf file do not just check environment variable, also check that the file exists | Mattias Andrée | 2014-03-11 | 1 | -9/+21 | |
| | | | | | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | | If even HOME is missing look up the user's home directory from passwd | Mattias Andrée | 2014-03-11 | 1 | -0/+12 | |
|/ | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com> | |||||
* | Fix PyGI deprecated warnings | TingPing | 2014-01-01 | 1 | -12/+12 | |
| | ||||||
* | Port redshift-gtk to Python3 | TingPing | 2014-01-01 | 3 | -8/+15 | |
| | | | | Python 2 is no longer supported | |||||
* | Merge pull request #19 from TingPing/patch-1 | Jon Lund Steffensen | 2013-12-29 | 1 | -2/+2 | |
|\ | | | | | Load config from %LOCALAPPDATA%\redshift.conf on Windows | |||||
| * | Load config from %LOCALAPPDATA%\redshift.conf on Windows | TingPing | 2013-12-29 | 1 | -2/+2 | |
| | | ||||||
* | | Fix building on Windows | TingPing | 2013-12-29 | 1 | -2/+0 | |
|/ | ||||||
* | Make redshift-gtk read output of the redshift child process. | Jon Lund Steffensen | 2013-12-12 | 1 | -103/+250 | |
| | | | | | | | | | | This allows redshift-gtk to show the current state of the redshift process. redshift-gtk follows the enable state of redshift and toggles the icon accordingly. The implementation is changed to use glib to spawn the child process instead of relying on python subprocess module. This is necessary because of inflexibility in the python module. | |||||
* | redshift-gtk: Use new GIR Gtk/Glib/AppIndicator bindings | Jon Lund Steffensen | 2013-12-11 | 1 | -26/+24 | |
| | ||||||
* | redshift-gtk: Make custom rule in Makefile.am silent | Jon Lund Steffensen | 2013-12-10 | 1 | -1/+1 | |
| | ||||||
* | Only start "dummy" gamma method if explicitly requested | Jon Lund Steffensen | 2013-12-09 | 2 | -5/+10 | |
| | ||||||
* | Remove Gnome Clock location provider | Jon Lund Steffensen | 2013-12-09 | 4 | -283/+0 | |
| | | | | | | | | This was basically a hack that happened to work because the Gnome Clock applet could store the current location of the user, and Redshift was able to fetch this location through GConf. Since Redshift for some time now has supported a config file where the location can be set, there is not really any reason to use an external, fragile solution to do the same. | |||||
* | geoclue: Disable deprecated g_type_init() when glib >= 2.35 | Jon Lund Steffensen | 2013-12-09 | 1 | -1/+6 | |
| | ||||||
* | Do not allow NULL keys when setting options | Jon Lund Steffensen | 2013-12-09 | 6 | -49/+40 | |
| | | | | | | | This should fix a bug where command line options for the "manual" location provider cannot override the config file. To keep compatability with previous versions the command line parser will still special case parsing "-l LAT:LON" and set the correct options in "manual". | |||||
* | Constify gamma parameter to set_temperature() methods | Jon Lund Steffensen | 2013-12-09 | 11 | -12/+12 | |
| | ||||||
* | When in print mode do not start a gamma method | Jon Lund Steffensen | 2013-12-09 | 1 | -27/+31 | |
| | | | | A gamma method is not needed in print mode | |||||
* | Add dummy gamma adjustment method | Jon Lund Steffensen | 2013-12-09 | 4 | -6/+127 | |
| | | | | | | | | This method does not do anything but print the temperature to the terminal. An external program implementing a color temperature adjustment scheme that is not supported by redshift can use this method to determine the desired color temperature. It is also useful for testing other parts of redshift on systems where neither RandR nor VidMode works. | |||||
* | Fix newline in help output text | Jon Lund Steffensen | 2013-12-08 | 1 | -1/+1 | |
| | ||||||
* | colorramp: Use new color ramp table provided by Ingo Thies. | Jon Lund Steffensen | 2013-10-21 | 2 | -100/+254 | |
| | | | | | | This table is calculated by the actual Planckian locus below 5000K, and by CIE daylight standard above 5000K. Also, the new table applies proper gamma correction according to sRGB. More information can be found in README-colorramp. | |||||
* | Fix typos (Benjamin Kerensa) | Jon Lund Steffensen | 2013-10-21 | 1 | -2/+2 | |
| | ||||||
* | location-geoclue: Fix crash when starting geoclue provider. (Thanks to Maks Verver) | Jon Lund Steffensen | 2013-10-21 | 1 | -7/+7 | |
| | ||||||
* | colorramp: Fix slight flicker caused by improper scaling of gamma ramp values | Jon Lund Steffensen | 2013-10-21 | 1 | -3/+3 | |
| | | | | | Values generated by colorramp_fill() will be a maximum of i * 256 - 1, due to the use of UINT16_MAX. Simplest fix ought to be using (UINT16_MAX+1), which is safe, as the maximum value (255 * 256) still fits in a uint16. (Thanks to Sean Hildebrand) | |||||
* | Fix slight wobble in temperature caused by float. | Jon Lund Steffensen | 2013-10-21 | 1 | -1/+1 | |
| | | | | | The transition variable 'adjustment_alpha' is a float. Redshift will wobble between 6499 and 6500K as the float runs out of precision. Using a double seems to solve the issue. (Thanks to Sean Hildebrand) | |||||
* | Rename gtk-redshift -> redshift-gtk. | Jon Lund Steffensen | 2013-03-05 | 7 | -9/+9 | |
| | | | | This is primarily for improved discovery. Some users report that they didn't know about redshift-gtk, but had it been available on tab completion they would have noticed. Also, I think it is in general good practice that closely related programs have the same prefix. | |||||
* | Merge gtk-redshift option to suspend for a short time period (Jendrik Seipp). | Jon Lund Steffensen | 2012-02-03 | 1 | -0/+47 | |
|\ | ||||||
| * | Add "Suspend for X minutes" option to gtk-redshift | Jendrik Seipp | 2012-02-03 | 1 | -0/+47 | |
| | | ||||||
* | | Also print status on start up. | Jon Lund Steffensen | 2012-02-02 | 1 | -0/+4 | |
|/ | ||||||
* | Print status message when redshift is enabled/disabled by SIGUSR1. | Jon Lund Steffensen | 2011-12-04 | 1 | -6/+10 | |
| | ||||||
* | gtk-redshift: Also set "Hidden" property in autostart file (as specified in XDG autostart standard). | Jon Lund Steffensen | 2011-12-03 | 1 | -29/+27 | |
| | ||||||
* | add -p option for print mode. | Vincent Breitmoser | 2011-11-27 | 1 | -2/+11 | |
| | | | | | This mode only prints the current screen parameters and exits. Useful for quick lookup of this value for use in scripts. | |||||
* | Add various documentation updates: DESIGN and HACKING document, and various small comments int the source (Christian Jaeger). | Jon Lund Steffensen | 2011-10-18 | 4 | -2/+16 | |
| | | | | Update man page with information on configuration file. | |||||
* | Set buffering on stdout and stderr to line-buffered. | Jon Lund Steffensen | 2011-10-18 | 1 | -0/+7 | |
| | | | | | | Previously stdout would be block buffered and stderr unbuffered when writing to a non-terminal. This code works on Debian with libc 2.11.2. The man page of setvbuf mentions that NULL can be used to avoid affecting the used buffer, but doesn't mention whether the size argument is then ignored; testing on Debian has revealed that this code works as intended, but I don't know whether that's standard. (Christian Jaeger) |