Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
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 | |
2014-12-27 | redshift: Simplify set_temperature by passing color_setting_t | Jon Lund Steffensen | 16 | -70/+77 | |
Changes all set_temperature function in gamma adjustment methods to take a color_setting_t pointer with the color settings. Colorramp functions are similarly changed to take a color settings struct. | |||||
2014-12-27 | redshift: Add config setting to set gamma separately for day/night | Jon Lund Steffensen | 1 | -1/+25 | |
These settings are gamma-day and gamma-night. The setting gamma will still override both the daytime and nighttime gamma setting. | |||||
2014-12-27 | redshift: Move color settings into struct for period | Jon Lund Steffensen | 2 | -70/+127 | |
Move color settings (temperature, gamma and brightness) into a struct for each period (day, night). Change the interpolation function to interpolate all values between these structs. | |||||
2014-12-27 | redshift: Use double for interpolation function | Jon Lund Steffensen | 1 | -4/+4 | |
2014-12-21 | redshift-gtk: Split status icon into controller and interface | Jon Lund Steffensen | 1 | -169/+259 | |
This splits the user interface into, RedshiftController, a GObject subclass that takes care of starting and interacting with the child process, and RedshiftStatusIcon providing the actual user interface. | |||||
2014-12-18 | redshift-gtk: Add docstrings in statusicon module | Jon Lund Steffensen | 1 | -2/+46 | |
2014-12-18 | redshift-gtk: Ignore exception in termwait when child is gone | Jon Lund Steffensen | 1 | -2/+6 | |
The termwait method is used to wait until the child process has quit. Previously this would fail with an exception if the child has already quit. This is now ignored. | |||||
2014-12-18 | redshift-gtk: Remove unnecessary semi-colons at end-of-line | Jon Lund Steffensen | 1 | -4/+4 | |
2014-12-18 | redshift-gtk: Show errors from child process in a dialog | Jon Lund Steffensen | 1 | -4/+19 | |
This dialog is shown whenever the child process exits with a non-zero status. The error output from stderr of the child process is buffered in redshift-gtk in case the child exits unexpectedly. | |||||
2014-12-15 | Add CoreLocation (OSX) location provider | Jon Lund Steffensen | 6 | -0/+303 | |
Similarly to the Geoclue provider, the CoreLocation provider only requests the location on startup. | |||||
2014-12-15 | Add Quartz (OSX) gamma adjustment method | Jon Lund Steffensen | 6 | -1/+250 | |
2014-12-15 | colorramp: Add float-typed colorramp_fill() equivalent | Jon Lund Steffensen | 2 | -4/+29 | |
2014-12-15 | appdata: Add screenshot | Jon Lund Steffensen | 2 | -0/+6 | |
2014-12-15 | Fix #95: Add AppData file for package managers | Jon Lund Steffensen | 3 | -2/+35 | |
2014-12-15 | contrib: Update RPM spec to use GeoClue2 | Jon Lund Steffensen | 1 | -2/+2 | |
2014-12-15 | Fix #80: Add Geoclue2 location provider | Jon Lund Steffensen | 7 | -2/+375 | |
This simply runs a GLib main loop when the location is requested and tries to get the location from GeoClue2. We need to run a main loop since the location is not immediately available, instead it becomes available through a signal. | |||||
2014-12-15 | systemtime: Use gettimeofday if POSIX timers not available | Jon Lund Steffensen | 2 | -13/+26 | |
2014-12-15 | contrib: Do not generate RPM spec | Jon Lund Steffensen | 2 | -3/+2 | |
The RPM spec needs to be maintained manually anyway so it does not make sense to autogenerate the file with the latest version number. This should be done manually while updating dependencies and changelog. | |||||
2014-12-15 | Makefile: Add README to distributed files | Jon Lund Steffensen | 2 | -0/+2 | |
README was accidentally omitted from distribution, and the link from README to README.md was missing since the file was renamed with the Markdown extension. | |||||
2014-12-06 | redshift-gtk: Relay USR1 signal to redshift process | Jon Lund Steffensen | 1 | -1/+8 | |
This also adds SIGINT to the signals handled by redshift-gtk. | |||||
2014-12-05 | Add a note about Ubuntu dependency packages | Kees Hink | 1 | -0/+1 | |
...which can be found in .travis.yml | |||||
2014-11-23 | Update Travis CI script to run make distcheck | Jon Lund Steffensen | 1 | -1/+1 | |
2014-11-04 | redshift-gtk: Forward errors from child to stderr | Jon Lund Steffensen | 1 | -2/+13 | |
This requires that the stderr (and stdout) are emptied when the child process exits, otherwise redshift-gtk will exit before the error output is forwarded. Also, the '-v' parameter is moved to the beginning of the command line to avoid error output including this (e.g. `redshift-gtk -l` would complain about the missing location provided `-v`). | |||||
2014-11-03 | Fix #112: Do not buffer lines from child indefinitely | Jon Lund Steffensen | 1 | -2/+3 | |
2014-10-13 | README: Fix markdown syntax | Jon Lund Steffensen | 1 | -4/+4 | |
2014-10-13 | README: Add build status image | Jon Lund Steffensen | 1 | -0/+4 | |
2014-10-13 | README: Rename to README.md | Jon Lund Steffensen | 1 | -0/+0 | |