aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix #174: Use nanosleep() instead of usleep()Jon Lund Steffensen2015-02-221-1/+5
| | | | | usleep() cannot sleep for more than 1000000 microseconds on certain platforms. nanosleep() does not have this limitation.
* Fix #169: Link to HACKING.md fileJon Lund Steffensen2015-02-221-1/+1
|
* Fix #178: Add libtool to dependency list (IAmRasputin)Jon Lund Steffensen2015-02-221-1/+1
|
* Update translation filesJon Lund Steffensen2015-02-2230-5208/+5811
|
* po/Makevars: Update bug report URLJon Lund Steffensen2015-02-221-1/+1
|
* README: Add Redshift logo imageJon Lund Steffensen2015-01-241-0/+2
|
* Fix #162: Ensure that interpolation alpha is in [0;1]Jon Lund Steffensen2015-01-151-3/+5
|
* Merge pull request #159 from christian-burger/masterJon Lund Steffensen2015-01-101-2/+2
|\ | | | | fixes #157: it was a tiny oversight during refactoring
| * fixes jonls/redshift#157 introduced by jonls/redshift@f9c2a1568c308ec69970662a8f5ceb8726e8d8ccChristian Burger2015-01-101-2/+2
|/
* redshift: Add print_location() functionJon Lund Steffensen2015-01-041-17/+22
|
* Merge branch 'preserve-gamma'Jon Lund Steffensen2015-01-0410-45/+234
|\
| * w32gdi: Add preserve option to windows GDI methodJon Lund Steffensen2015-01-042-7/+30
| |
| * vidmode: Add preserve option to VidMode methodJon Lund Steffensen2015-01-042-7/+22
| |
| * quartz: Add preserve option to Quartz methodJon Lund Steffensen2015-01-042-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.
| * randr: Add preserve option to RandR methodJon Lund Steffensen2015-01-042-8/+22
| |
| * colorramp: Use supplied gamma ramps as initial valueJon Lund Steffensen2015-01-046-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().
* redshift: Add gamma_is_valid function to check gammaJon Lund Steffensen2015-01-041-12/+15
| | | | | This checks whether the gamma values are within the bounds of MIN_GAMMA and MAX_GAMMA.
* redshift: Add transition scheme type with color settingsJon Lund Steffensen2015-01-041-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.
* redshift: Make transition levels parameter to related functionsJon Lund Steffensen2015-01-041-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.
* redshift: Move continual loop mode to separate functionJon Lund Steffensen2015-01-041-222/+241
|
* Add location_t type with lat/lon fieldsJon Lund Steffensen2015-01-0410-43/+56
|
* Merge changes from 1.10 release branchJon Lund Steffensen2015-01-0435-1276/+2045
|\
| * NEWS: Fix date for 1.10 releaseJon Lund Steffensen2015-01-041-2/+2
| |
| * contrib: Update Fedora spec for 1.10Jon Lund Steffensen2015-01-041-1/+4
| |
| * Import translations from launchpadJon Lund Steffensen2015-01-0431-1146/+1867
| |
| * NEWS: Update for 1.10 releaseJon Lund Steffensen2015-01-041-0/+26
| |
| * NEWS: Rename to NEWS.md and markdown formatJon Lund Steffensen2015-01-042-128/+147
| |
| * configure.ac: Update version to 1.10Jon Lund Steffensen2015-01-041-1/+1
|/
* redshift: Add noop pause() macro on windows platformJon Lund Steffensen2015-01-041-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.
* Fix #152: redshift: Loop in reset/manual/one-shot mode with QuartzJon Lund Steffensen2015-01-041-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.
* Fix #153: geoclue2: Set desktop id on GeoClue2 clientJon Lund Steffensen2015-01-021-1/+18
| | | | | This property needs to be set in the latest versions of GeoClue2, but it is not available in early versions.
* Update po filesJon Lund Steffensen2014-12-3029-2120/+2291
|
* redshift: Fix untranslated status stringsJon Lund Steffensen2014-12-301-3/+3
|
* Merge branch 'hooks-dir'Jon Lund Steffensen2014-12-286-8/+190
|\
| * redshift.1: Add description of hooks in man pageJon Lund Steffensen2014-12-281-0/+19
| |
| * redshift: Add hooks for user actions on period switchJon Lund Steffensen2014-12-284-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".
| * redshift: Move period_t to headerJon Lund Steffensen2014-12-282-8/+9
| |
* | README: Add flattr button at the endJon Lund Steffensen2014-12-281-0/+5
| |
* | redshift.1: Update outdated information in man pageJon Lund Steffensen2014-12-281-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.
* | Merge branch 'translation-updates'Jon Lund Steffensen2014-12-2833-3964/+8820
|\ \
| * | Update po filesJon Lund Steffensen2014-12-2829-3950/+8790
| | |
| * | redshift: Add translation comment on period name NoneJon Lund Steffensen2014-12-281-0/+1
| | |
| * | redshift: Add translation of Daytime/Night in new gamma stringJon Lund Steffensen2014-12-281-2/+4
| | |
| * | redshift: Add translation comment to N,S,W,E stringsJon Lund Steffensen2014-12-281-3/+16
| | |
| * | location: Make translated string about recheck shared between all providersJon Lund Steffensen2014-12-283-9/+9
|/ /
* | corelocation: Fix missing space character in stringJon Lund Steffensen2014-12-281-1/+1
| |
* | systemtime: Add function wrapping platform sleep functionJon Lund Steffensen2014-12-283-8/+17
| | | | | | | | | | Adds systemtime_msleep() which sleeps for a number of milliseconds. This wraps Sleep() on windows and usleep() on other platforms.
* | systemtime: Fix includes and check for _POSIX_TIMERSJon Lund Steffensen2014-12-282-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.
* | contrib: Add appdata file to RPM packageJon Lund Steffensen2014-12-281-0/+1
|/
* redshift: Add enum member for unknown period_t (PERIOD_NONE)Jon Lund Steffensen2014-12-281-2/+5
|