Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Only start "dummy" gamma method if explicitly requested | Jon Lund Steffensen | 2013-12-09 | 1 | -4/+6 | |
| | ||||||
* | Remove Gnome Clock location provider | Jon Lund Steffensen | 2013-12-09 | 1 | -21/+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. | |||||
* | Do not allow NULL keys when setting options | Jon Lund Steffensen | 2013-12-09 | 1 | -10/+25 | |
| | | | | | | | 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". | |||||
* | 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 | 1 | -5/+11 | |
| | | | | | | | | 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 | 1 | -6/+6 | |
| | | | | | | 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 | |
| | ||||||
* | 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) | |||||
* | 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 | |
| | ||||||
* | 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 | 1 | -1/+6 | |
| | | | | 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) | |||||
* | Allow separate brightness for day and night (Olivier Fabre and Jeremy Erickson). | Jon Lund Steffensen | 2011-10-18 | 1 | -30/+87 | |
| | ||||||
* | Fix build on windows platform. | Jon Lund Steffensen | 2011-07-05 | 1 | -6/+6 | |
| | ||||||
* | Document brightness (-b) option switch. | Jon Lund Steffensen | 2011-07-04 | 1 | -1/+2 | |
| | ||||||
* | Add option to show program version (-V). | Jon Lund Steffensen | 2011-07-04 | 1 | -3/+8 | |
| | ||||||
* | Use signal.h instead of sys/signal.h for POSIX compliance. | Albert Lee | 2011-07-04 | 1 | -7/+7 | |
| | ||||||
* | Merge manual mode from Joe Hillenbrand with some modifications. | Jon Lund Steffensen | 2011-06-07 | 1 | -40/+70 | |
|\ | ||||||
| * | Added feature to manually set temperature without needing location data. | Joe Hillenbrand | 2011-02-25 | 1 | -42/+78 | |
| | | ||||||
* | | Allow brightness to be adjusted (between 10% and 100%, the latter being the default). | Jon Lund Steffensen | 2011-04-21 | 1 | -4/+30 | |
| | | ||||||
* | | Merge Geoclue location provider by Mathieu Trudel-Lapierre with some tweaks. | Jon Lund Steffensen | 2011-03-28 | 1 | -0/+21 | |
|\ \ | ||||||
| * | | Add first pass of Geoclue location provider. | Mathieu Trudel-Lapierre | 2011-02-09 | 1 | -0/+21 | |
| |/ | ||||||
* / | Fix: return 0 in parse_gamma_string() on success. | Jon Lund Steffensen | 2011-03-27 | 1 | -0/+2 | |
|/ | ||||||
* | Allow user to specify a configuration file on the command line that will | Jon Lund Steffensen | 2010-10-18 | 1 | -5/+14 | |
| | | | | be parsed. | |||||
* | Add configuration file support. | Jon Lund Steffensen | 2010-10-15 | 1 | -58/+215 | |
| | ||||||
* | Minor optimizations in selection of location provider and adjustment | Jon Lund Steffensen | 2010-10-15 | 1 | -2/+4 | |
| | | | | method. | |||||
* | Add info on the neutral color temperature (6500K) in help output. | Jon Lund Steffensen | 2010-10-09 | 1 | -1/+11 | |
| | ||||||
* | Provide feedback on what location provider/color adjustment method that | Jon Lund Steffensen | 2010-06-30 | 1 | -2/+6 | |
| | | | | is used when none was specifically requested. | |||||
* | Add reset option (activated with -x) that removes any color adjustments | Jon Lund Steffensen | 2010-06-10 | 1 | -55/+98 | |
| | | | | applied to the screen. Based on patch by Dan Helfman. | |||||
* | Add comments about certain substring which must not be translated. | Jon Lund Steffensen | 2010-06-10 | 1 | -2/+6 | |
| | | | | Fix help text that refered to the wrong command line parameter. | |||||
* | Clarify translation of help text for translators. | Jon Lund Steffensen | 2010-06-04 | 1 | -2/+4 | |
| | | | | Clarify comment about use of strtof(). | |||||
* | Use lower case for method and provider names. | Jon Lund Steffensen | 2010-05-27 | 1 | -6/+6 | |
| | ||||||
* | Split init function of methods and providers into init and start. | Jon Lund Steffensen | 2010-05-27 | 1 | -24/+133 | |
| | | | | | The set_option function can be called to set options between init and start. | |||||
* | Let gamma methods and location providers print help on option parameters. | Jon Lund Steffensen | 2010-05-27 | 1 | -0/+38 | |
| | ||||||
* | Remove unused parameters in help text output. | Jon Lund Steffensen | 2010-05-25 | 1 | -2/+0 | |
| | ||||||
* | Fix build on mingw | Jon Lund Steffensen | 2010-05-25 | 1 | -0/+1 | |
| | ||||||
* | Add location provider that reads location from the gconf key associated | Jon Lund Steffensen | 2010-05-25 | 1 | -1/+17 | |
| | | | | | with the GNOME Clock applet. The implementation is rather simplistic as it only reads the location once on init but that'll have to do for now. | |||||
* | Provide fundament for more advanced location providers. | Jon Lund Steffensen | 2010-05-25 | 1 | -22/+120 | |
| | ||||||
* | Use the prefix 'gamma' for gamma adjustment source files. | Jon Lund Steffensen | 2010-05-24 | 1 | -7/+7 | |
| | ||||||
* | Pass arguments as string to adjustment methods. | Jon Lund Steffensen | 2010-05-24 | 1 | -30/+14 | |
| | ||||||
* | Move gamma method spec structs to redshift.h | Jon Lund Steffensen | 2010-05-24 | 1 | -14/+1 | |
| | ||||||
* | Don't include gettext headers when NLS is disabled. | Jon Lund Steffensen | 2010-05-24 | 1 | -1/+1 | |
| | ||||||
* | Use gamma_method_spec_t struct to control and iterate through different | Jon Lund Steffensen | 2010-05-24 | 1 | -170/+108 | |
| | | | | gamma adjustment methods. | |||||
* | Clean up code for gamma adjustment methods. | Jon Lund Steffensen | 2010-05-07 | 1 | -52/+65 | |
| | ||||||
* | systemtime.c: Portably read current time on posix and windows. | Jon Lund Steffensen | 2010-05-06 | 1 | -24/+93 | |
| | | | | | | | | w32gdi.c: Implements gamma ramp method for Windows GDI API. Use double as a cross platform time representation. Add WinGDI as a selectable method (currently limitied to minimum 4500K). Fix a bug where redshift would crash if RANDR failed and VidMode wasn't compiled in. | |||||
* | Don't call setlocale if NLS was disabled. | Jon Lund Steffensen | 2010-05-06 | 1 | -1/+1 | |
| | ||||||
* | Disable signal support if sys/signal.h was not found. | Jon Lund Steffensen | 2010-05-06 | 1 | -0/+11 | |
| | ||||||
* | Restructure help text and add comments for easier translation. | Jon Lund Steffensen | 2010-05-05 | 1 | -8/+8 | |
| |