aboutsummaryrefslogtreecommitdiffstats
path: root/src/solar.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-12-28Fix #284: Add sample configuration fileJon Lund Steffensen2-1/+58
2015-11-28Change documentation concerning hooksBenedikt Heine1-2/+2
2015-11-24Update zh_CN.pogiwhub1-6/+6
2015-11-19Update zh_CN.pogiwhub1-5/+5
2015-11-19Update zh_CN.pogiwhub1-14/+14
2015-11-15Fallback if AppIndicator3 req. version unavailableJavier Cantero1-1/+1
Catch in the except block the case when the required version of Appindicator3 is not available to also fallback in GtkStatusIcon widget.
2015-11-14Also specify required AppIndicator3 versionJavier Cantero1-0/+1
Avoid another GObject Introspection warning in redshift-gtk by providing the required version of AppIndicator3 before import it.
2015-11-03Specify required Gtk versionChristian Stadelmann1-0/+3
This fixes a warning when starting redshift-gtk with gtk 3.18.
2015-10-21Fix #266: manual page adjustmentsJon Lund Steffensen1-2/+2
Apply manual page adjustments suggested by rjc.
2015-10-11Update cs.poarttox88cz1-16/+16
Added some minor translations
2015-08-16redshift.desktop: Use NoDisplay instead of Hidden keyword (#158)Laurent Bigonville1-3/+2
2015-08-04Continue german translationMichael Vetter2-66/+87
2015-08-04Remove trailing whitespacesMichael Vetter5-8/+8
2015-07-25Updated russian translationYan1-58/+57
2015-07-25Translations: Update Dutch translationrrooij1-29/+45
Update for the Dutch translation. Some untranslated sentences or words are now translated into Dutch. Note that not all sentences are yet translated.
2015-07-07Add a redshift desktop file (#158)Laurent Bigonville5-0/+16
This should fix the fact that redshift cannot query its location using geoclue 2
2015-05-07remove unnecessary null-checks, it is safe to pass NULL to free (per documentation)Mattias Andrée3-6/+5
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-05-05update .gitignoreMattias Andrée1-0/+12
Signed-off-by: Mattias Andrée <maandree@operamail.com>
2015-05-02Fix CLAMP macro overwritten by glib headersJordan Klassen1-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.
2015-02-22Fix #174: Use nanosleep() instead of usleep()Jon Lund Steffensen1-1/+5
usleep() cannot sleep for more than 1000000 microseconds on certain platforms. nanosleep() does not have this limitation.
2015-02-22Fix #169: Link to HACKING.md fileJon Lund Steffensen1-1/+1
2015-02-22Fix #178: Add libtool to dependency list (IAmRasputin)Jon Lund Steffensen1-1/+1
2015-02-22Update translation filesJon Lund Steffensen30-5208/+5811
2015-02-22po/Makevars: Update bug report URLJon Lund Steffensen1-1/+1
2015-01-24README: Add Redshift logo imageJon Lund Steffensen1-0/+2
2015-01-15Fix #162: Ensure that interpolation alpha is in [0;1]Jon Lund Steffensen1-3/+5
2015-01-10fixes jonls/redshift#157 introduced by jonls/redshift@f9c2a1568c308ec69970662a8f5ceb8726e8d8ccChristian Burger1-2/+2
2015-01-04redshift: Add print_location() functionJon Lund Steffensen1-17/+22
2015-01-04w32gdi: Add preserve option to windows GDI methodJon Lund Steffensen2-7/+30
2015-01-04vidmode: Add preserve option to VidMode methodJon Lund Steffensen2-7/+22
2015-01-04quartz: Add preserve option to Quartz methodJon Lund Steffensen2-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-04randr: Add preserve option to RandR methodJon Lund Steffensen2-8/+22
2015-01-04colorramp: Use supplied gamma ramps as initial valueJon Lund Steffensen6-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-04redshift: Add gamma_is_valid function to check gammaJon Lund Steffensen1-12/+15
This checks whether the gamma values are within the bounds of MIN_GAMMA and MAX_GAMMA.
2015-01-04redshift: Add transition scheme type with color settingsJon Lund Steffensen1-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-04redshift: Make transition levels parameter to related functionsJon Lund Steffensen1-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-04redshift: Move continual loop mode to separate functionJon Lund Steffensen1-222/+241
2015-01-04Add location_t type with lat/lon fieldsJon Lund Steffensen10-43/+56
2015-01-04NEWS: Fix date for 1.10 releaseJon Lund Steffensen1-2/+2
2015-01-04contrib: Update Fedora spec for 1.10Jon Lund Steffensen1-1/+4
2015-01-04Import translations from launchpadJon Lund Steffensen31-1146/+1867
2015-01-04redshift: Add noop pause() macro on windows platformJon Lund Steffensen1-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-04NEWS: Update for 1.10 releaseJon Lund Steffensen1-0/+26
2015-01-04NEWS: Rename to NEWS.md and markdown formatJon Lund Steffensen2-128/+147
2015-01-04configure.ac: Update version to 1.10Jon Lund Steffensen1-1/+1
2015-01-04Fix #152: redshift: Loop in reset/manual/one-shot mode with QuartzJon Lund Steffensen1-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-02Fix #153: geoclue2: Set desktop id on GeoClue2 clientJon Lund Steffensen1-1/+18
This property needs to be set in the latest versions of GeoClue2, but it is not available in early versions.
2014-12-30Update po filesJon Lund Steffensen29-2120/+2291
2014-12-30redshift: Fix untranslated status stringsJon Lund Steffensen1-3/+3
2014-12-28README: Add flattr button at the endJon Lund Steffensen1-0/+5