Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2015-02-22 | Fix #174: Use nanosleep() instead of usleep() | Jon Lund Steffensen | 1 | -1/+5 | |
usleep() cannot sleep for more than 1000000 microseconds on certain platforms. nanosleep() does not have this limitation. | |||||
2015-02-22 | Fix #169: Link to HACKING.md file | Jon Lund Steffensen | 1 | -1/+1 | |
2015-02-22 | Fix #178: Add libtool to dependency list (IAmRasputin) | Jon Lund Steffensen | 1 | -1/+1 | |
2015-02-22 | Update translation files | Jon Lund Steffensen | 30 | -5208/+5811 | |
2015-02-22 | po/Makevars: Update bug report URL | Jon Lund Steffensen | 1 | -1/+1 | |
2015-01-24 | README: Add Redshift logo image | Jon Lund Steffensen | 1 | -0/+2 | |
2015-01-15 | Fix #162: Ensure that interpolation alpha is in [0;1] | Jon Lund Steffensen | 1 | -3/+5 | |
2015-01-10 | fixes jonls/redshift#157 introduced by jonls/redshift@f9c2a1568c308ec69970662a8f5ceb8726e8d8cc | Christian Burger | 1 | -2/+2 | |
2015-01-04 | redshift: Add print_location() function | Jon Lund Steffensen | 1 | -17/+22 | |
2015-01-04 | w32gdi: Add preserve option to windows GDI method | Jon Lund Steffensen | 2 | -7/+30 | |
2015-01-04 | vidmode: Add preserve option to VidMode method | Jon Lund Steffensen | 2 | -7/+22 | |
2015-01-04 | quartz: Add preserve option to Quartz method | Jon Lund Steffensen | 2 | -41/+133 | |
This change adds the preserve option to the quartz method which makes it base the temperature adjustments on the existing gamma ramps when set. This requires that the existing gamma ramps are saved at start-up which this commit also adds. One drawback is that the list of displays is enumerated at start-up now which means that Redshift will likely not affect displays that are connected after start-up. This could be fixed in the future by listening to reconfiguration events. | |||||
2015-01-04 | randr: Add preserve option to RandR method | Jon Lund Steffensen | 2 | -8/+22 | |
2015-01-04 | colorramp: Use supplied gamma ramps as initial value | Jon Lund Steffensen | 6 | -6/+51 | |
This changes colorramp_fill() to base the ramp calculations on the existing values in the supplied tables, instead of basing it on a pure `i/size` value computed on the fly. All gamma adjustment methods are changed to explicitly initialize the ramps to the `i/size` value before calls to colorramp_fill(). | |||||
2015-01-04 | redshift: Add gamma_is_valid function to check gamma | Jon Lund Steffensen | 1 | -12/+15 | |
This checks whether the gamma values are within the bounds of MIN_GAMMA and MAX_GAMMA. | |||||
2015-01-04 | redshift: Add transition scheme type with color settings | Jon Lund Steffensen | 1 | -125/+122 | |
This changes the transition_levels_t to transition_scheme_t and adds two fields day, night of type color_setting_t. This encapsulates all the information needed to calculate the current color setting from an elevation. | |||||
2015-01-04 | redshift: Make transition levels parameter to related functions | Jon Lund Steffensen | 1 | -33/+56 | |
Moves transition_low and transition_high from globals into a struct transition_levels_t that is created in main and passed to the relevant functions. | |||||
2015-01-04 | redshift: Move continual loop mode to separate function | Jon Lund Steffensen | 1 | -222/+241 | |
2015-01-04 | Add location_t type with lat/lon fields | Jon Lund Steffensen | 10 | -43/+56 | |
2015-01-04 | NEWS: Fix date for 1.10 release | Jon Lund Steffensen | 1 | -2/+2 | |
2015-01-04 | contrib: Update Fedora spec for 1.10 | Jon Lund Steffensen | 1 | -1/+4 | |
2015-01-04 | Import translations from launchpad | Jon Lund Steffensen | 31 | -1146/+1867 | |
2015-01-04 | redshift: Add noop pause() macro on windows platform | Jon Lund Steffensen | 1 | -0/+5 | |
Build failed on windows platform since pause() is not available. The function is not needed on the windows platform so we just define a noop pause() macro. | |||||
2015-01-04 | NEWS: Update for 1.10 release | Jon Lund Steffensen | 1 | -0/+26 | |
2015-01-04 | NEWS: Rename to NEWS.md and markdown format | Jon Lund Steffensen | 2 | -128/+147 | |
2015-01-04 | configure.ac: Update version to 1.10 | Jon Lund Steffensen | 1 | -1/+1 | |
2015-01-04 | Fix #152: redshift: Loop in reset/manual/one-shot mode with Quartz | Jon Lund Steffensen | 1 | -0/+23 | |
The gamma adjustments made with the Quartz (OSX) method are tied to the process so when we exit, the gamma adjustments are reset. Therefore we need to run a loop that breaks on CTRL-C, after the gamma adjustments are made. | |||||
2015-01-02 | Fix #153: geoclue2: Set desktop id on GeoClue2 client | Jon Lund Steffensen | 1 | -1/+18 | |
This property needs to be set in the latest versions of GeoClue2, but it is not available in early versions. | |||||
2014-12-30 | Update po files | Jon Lund Steffensen | 29 | -2120/+2291 | |
2014-12-30 | redshift: Fix untranslated status strings | Jon Lund Steffensen | 1 | -3/+3 | |
2014-12-28 | README: Add flattr button at the end | Jon Lund Steffensen | 1 | -0/+5 | |
2014-12-28 | redshift.1: Add description of hooks in man page | Jon Lund Steffensen | 1 | -0/+19 | |
2014-12-28 | redshift.1: Update outdated information in man page | Jon Lund Steffensen | 1 | -5/+17 | |
Clarify use of options and `list` for for methods and providers. Add missing information on configuration file options. Update issue tracker web address. | |||||
2014-12-28 | Update po files | Jon Lund Steffensen | 29 | -3950/+8790 | |
2014-12-28 | redshift: Add translation comment on period name None | Jon Lund Steffensen | 1 | -0/+1 | |
2014-12-28 | redshift: Add translation of Daytime/Night in new gamma string | Jon Lund Steffensen | 1 | -2/+4 | |
2014-12-28 | redshift: Add translation comment to N,S,W,E strings | Jon Lund Steffensen | 1 | -3/+16 | |
2014-12-28 | location: Make translated string about recheck shared between all providers | Jon Lund Steffensen | 3 | -9/+9 | |
2014-12-28 | corelocation: Fix missing space character in string | Jon Lund Steffensen | 1 | -1/+1 | |
2014-12-28 | systemtime: Add function wrapping platform sleep function | Jon Lund Steffensen | 3 | -8/+17 | |
Adds systemtime_msleep() which sleeps for a number of milliseconds. This wraps Sleep() on windows and usleep() on other platforms. | |||||
2014-12-28 | systemtime: Fix includes and check for _POSIX_TIMERS | Jon Lund Steffensen | 2 | -9/+8 | |
Fix missing include of windows.h on windows platform. Change check for _POSIX_TIMERS to check that it is greater than 0. On OS X, the POSIX timers are not available and _POSIX_TIMERS is -1. | |||||
2014-12-28 | contrib: Add appdata file to RPM package | Jon Lund Steffensen | 1 | -0/+1 | |
2014-12-28 | redshift: Add hooks for user actions on period switch | Jon Lund Steffensen | 4 | -0/+162 | |
Hooks are executable scripts in ~/.config/redshift/hooks/ that are run when a certain event happens. The first parameter to the script indicates the event and further parameters may indicate more details about the event. The event "period-changed" is indicated when the period changes ("night", "daytime", "transition"). The second parameter is the old period and the third is the new period. The event is signaled when Redshift starts up with the old period set to "none". | |||||
2014-12-28 | redshift: Move period_t to header | Jon Lund Steffensen | 2 | -8/+9 | |
2014-12-28 | redshift: Add enum member for unknown period_t (PERIOD_NONE) | Jon Lund Steffensen | 1 | -2/+5 | |
2014-12-28 | redshift: Properly handle errors in sigaction | Jon Lund Steffensen | 1 | -4/+19 | |
2014-12-27 | redshift: Fix translation of period names | Jon Lund Steffensen | 1 | -5/+9 | |
The static string array period_names contains strings that are printed but these were not marked for translation. This is fixed now by adding the _N() macro and calling gettext() when the strings are used. | |||||
2014-12-27 | redshift: Only print period information when it changes | Jon Lund Steffensen | 1 | -9/+65 | |
This change adds functions to determine what the current period is so we can keep track and only print the period when it changes. | |||||
2014-12-27 | redshift: Be less verbose when color values did not change | Jon Lund Steffensen | 1 | -2/+20 | |
This keeps a copy of the previous color_setting_t in the loop so that we can avoid printing the color temperature and brightness if they did not change. | |||||
2014-12-27 | redshift: Change duration of sleep to macro | Jon Lund Steffensen | 1 | -5/+8 | |