Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | redshift: Fix translation of period names | Jon Lund Steffensen | 2014-12-27 | 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. | |||||
* | Merge branch 'less-verbose' | Jon Lund Steffensen | 2014-12-27 | 1 | -11/+85 | |
|\ | ||||||
| * | redshift: Only print period information when it changes | Jon Lund Steffensen | 2014-12-27 | 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. | |||||
| * | redshift: Be less verbose when color values did not change | Jon Lund Steffensen | 2014-12-27 | 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. | |||||
* | redshift: Change duration of sleep to macro | Jon Lund Steffensen | 2014-12-27 | 1 | -5/+8 | |
| | ||||||
* | Merge branch 'color-settings-struct' | Jon Lund Steffensen | 2014-12-27 | 16 | -131/+219 | |
|\ | ||||||
| * | redshift: Simplify set_temperature by passing color_setting_t | Jon Lund Steffensen | 2014-12-27 | 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. | |||||
| * | redshift: Add config setting to set gamma separately for day/night | Jon Lund Steffensen | 2014-12-27 | 1 | -1/+25 | |
| | | | | | | | | | | These settings are gamma-day and gamma-night. The setting gamma will still override both the daytime and nighttime gamma setting. | |||||
| * | redshift: Move color settings into struct for period | Jon Lund Steffensen | 2014-12-27 | 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. | |||||
* | redshift: Use double for interpolation function | Jon Lund Steffensen | 2014-12-27 | 1 | -4/+4 | |
| | ||||||
* | redshift-gtk: Split status icon into controller and interface | Jon Lund Steffensen | 2014-12-21 | 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. | |||||
* | redshift-gtk: Add docstrings in statusicon module | Jon Lund Steffensen | 2014-12-18 | 1 | -2/+46 | |
| | ||||||
* | redshift-gtk: Ignore exception in termwait when child is gone | Jon Lund Steffensen | 2014-12-18 | 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. | |||||
* | redshift-gtk: Remove unnecessary semi-colons at end-of-line | Jon Lund Steffensen | 2014-12-18 | 1 | -4/+4 | |
| | ||||||
* | redshift-gtk: Show errors from child process in a dialog | Jon Lund Steffensen | 2014-12-18 | 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. | |||||
* | Merge pull request #140 from jonls/osx-support | Jon Lund Steffensen | 2014-12-16 | 10 | -5/+582 | |
|\ | | | | | OSX support. Adds gamma adjustment method `quartz` and location provider `corelocation`. | |||||
| * | Add CoreLocation (OSX) location provider | Jon Lund Steffensen | 2014-12-15 | 6 | -0/+303 | |
| | | | | | | | | | | Similarly to the Geoclue provider, the CoreLocation provider only requests the location on startup. | |||||
| * | Add Quartz (OSX) gamma adjustment method | Jon Lund Steffensen | 2014-12-15 | 6 | -1/+250 | |
| | | ||||||
| * | colorramp: Add float-typed colorramp_fill() equivalent | Jon Lund Steffensen | 2014-12-15 | 2 | -4/+29 | |
|/ | ||||||
* | Merge pull request #145 from jonls/appdata-xml | Jon Lund Steffensen | 2014-12-16 | 4 | -2/+41 | |
|\ | | | | | Fix #95: Add AppData file for package managers | |||||
| * | appdata: Add screenshot | Jon Lund Steffensen | 2014-12-15 | 2 | -0/+6 | |
| | | ||||||
| * | Fix #95: Add AppData file for package managers | Jon Lund Steffensen | 2014-12-15 | 3 | -2/+35 | |
|/ | ||||||
* | Merge branch 'geoclue2-provider' | Jon Lund Steffensen | 2014-12-15 | 8 | -4/+377 | |
|\ | | | | | | | Add GeoClue2 location provider | |||||
| * | contrib: Update RPM spec to use GeoClue2 | Jon Lund Steffensen | 2014-12-15 | 1 | -2/+2 | |
| | | ||||||
| * | Fix #80: Add Geoclue2 location provider | Jon Lund Steffensen | 2014-12-15 | 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. | |||||
* | systemtime: Use gettimeofday if POSIX timers not available | Jon Lund Steffensen | 2014-12-15 | 2 | -13/+26 | |
| | ||||||
* | contrib: Do not generate RPM spec | Jon Lund Steffensen | 2014-12-15 | 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. | |||||
* | Makefile: Add README to distributed files | Jon Lund Steffensen | 2014-12-15 | 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. | |||||
* | Merge pull request #141 from jonls/relay-usr1-signal | Jon Lund Steffensen | 2014-12-06 | 1 | -1/+8 | |
|\ | | | | | redshift-gtk: Relay USR1 signal to redshift process | |||||
| * | redshift-gtk: Relay USR1 signal to redshift process | Jon Lund Steffensen | 2014-12-06 | 1 | -1/+8 | |
|/ | | | | This also adds SIGINT to the signals handled by redshift-gtk. | |||||
* | Merge pull request #139 from khink/master | Jon Lund Steffensen | 2014-12-06 | 1 | -0/+1 | |
|\ | | | | | Add pointer to .travis.yml for Ubuntu dependency packages | |||||
| * | Add a note about Ubuntu dependency packages | Kees Hink | 2014-12-05 | 1 | -0/+1 | |
|/ | | | ...which can be found in .travis.yml | |||||
* | Update Travis CI script to run make distcheck | Jon Lund Steffensen | 2014-11-23 | 1 | -1/+1 | |
| | ||||||
* | redshift-gtk: Forward errors from child to stderr | Jon Lund Steffensen | 2014-11-04 | 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`). | |||||
* | Fix #112: Do not buffer lines from child indefinitely | Jon Lund Steffensen | 2014-11-03 | 1 | -2/+3 | |
| | ||||||
* | README: Fix markdown syntax | Jon Lund Steffensen | 2014-10-13 | 1 | -4/+4 | |
| | ||||||
* | README: Add build status image | Jon Lund Steffensen | 2014-10-13 | 1 | -0/+4 | |
| | ||||||
* | README: Rename to README.md | Jon Lund Steffensen | 2014-10-13 | 1 | -0/+0 | |
| | ||||||
* | Add Travis CI configuration file | Jon Lund Steffensen | 2014-10-13 | 1 | -0/+12 | |
| | ||||||
* | Merge pull request #116 from emilf/master | Jon Lund Steffensen | 2014-09-22 | 1 | -0/+1 | |
|\ | | | | | Added intltool to dependencies, as I got errors on ./bootstrap without it | |||||
| * | Added intltool to dependencies, as I got errors on ./bootstrap without it | emilf | 2014-09-17 | 1 | -0/+1 | |
|/ | ||||||
* | Fix #114: Update nl translation | Peter | 2014-09-14 | 1 | -41/+54 | |
| | ||||||
* | configure.ac: Fix undefined GETTEXT_PACKAGE on install | Jon Lund Steffensen | 2014-08-16 | 1 | -0/+5 | |
| | ||||||
* | Add gamma-dummy.c to POTFILES.in | Jon Lund Steffensen | 2014-08-16 | 1 | -0/+1 | |
| | ||||||
* | Fix: desktop files missing in EXTRA_DIST and CLEANFILES | Jon Lund Steffensen | 2014-08-16 | 1 | -2/+4 | |
| | ||||||
* | Fix #105: Limit decimals in displayed location to two | Jon Lund Steffensen | 2014-08-16 | 1 | -1/+1 | |
| | ||||||
* | Fix #90: Print N/S and E/W in the location | Mattias Andrée | 2014-08-16 | 2 | -3/+5 | |
| | ||||||
* | Merge pull request #92 from jonls/fix-91-makerule | Jon Lund Steffensen | 2014-08-17 | 1 | -1/+1 | |
|\ | | | | | Fix building systemd unit files | |||||
| * | Fix building systemd unit files | Jon Lund Steffensen | 2014-05-25 | 1 | -1/+1 | |
| | | | | | | | | | | | | The previous Makefile rule would generate all unit files from `redshift.service.in`. This is fixed to generate the file from the proper `.service.in` file. | |||||
* | | Make desktop file translatable | Jon Lund Steffensen | 2014-05-28 | 5 | -7/+17 | |
| | | | | | | | | | | | | | | | | Changes bootstrap script to run libtoolize. Some extra magic was needed for autoreconf (taken from GNOME projects). The INTLTOOL_DESKTOP_RULE should be used in Makefile.am but is unfortunately broken at this time for out-of-source builds. The rule is instead copied and fixed in Makefile.am. |