aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* redshift: Add enum member for unknown period_t (PERIOD_NONE)Jon Lund Steffensen2014-12-281-2/+5
|
* redshift: Properly handle errors in sigactionJon Lund Steffensen2014-12-281-4/+19
|
* redshift: Fix translation of period namesJon Lund Steffensen2014-12-271-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 Steffensen2014-12-271-11/+85
|\
| * redshift: Only print period information when it changesJon Lund Steffensen2014-12-271-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 changeJon Lund Steffensen2014-12-271-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 macroJon Lund Steffensen2014-12-271-5/+8
|
* Merge branch 'color-settings-struct'Jon Lund Steffensen2014-12-2716-131/+219
|\
| * redshift: Simplify set_temperature by passing color_setting_tJon Lund Steffensen2014-12-2716-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/nightJon Lund Steffensen2014-12-271-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 periodJon Lund Steffensen2014-12-272-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 functionJon Lund Steffensen2014-12-271-4/+4
|
* redshift-gtk: Split status icon into controller and interfaceJon Lund Steffensen2014-12-211-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 moduleJon Lund Steffensen2014-12-181-2/+46
|
* redshift-gtk: Ignore exception in termwait when child is goneJon Lund Steffensen2014-12-181-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-lineJon Lund Steffensen2014-12-181-4/+4
|
* redshift-gtk: Show errors from child process in a dialogJon Lund Steffensen2014-12-181-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-supportJon Lund Steffensen2014-12-1610-5/+582
|\ | | | | OSX support. Adds gamma adjustment method `quartz` and location provider `corelocation`.
| * Add CoreLocation (OSX) location providerJon Lund Steffensen2014-12-156-0/+303
| | | | | | | | | | Similarly to the Geoclue provider, the CoreLocation provider only requests the location on startup.
| * Add Quartz (OSX) gamma adjustment methodJon Lund Steffensen2014-12-156-1/+250
| |
| * colorramp: Add float-typed colorramp_fill() equivalentJon Lund Steffensen2014-12-152-4/+29
|/
* Merge pull request #145 from jonls/appdata-xmlJon Lund Steffensen2014-12-164-2/+41
|\ | | | | Fix #95: Add AppData file for package managers
| * appdata: Add screenshotJon Lund Steffensen2014-12-152-0/+6
| |
| * Fix #95: Add AppData file for package managersJon Lund Steffensen2014-12-153-2/+35
|/
* Merge branch 'geoclue2-provider'Jon Lund Steffensen2014-12-158-4/+377
|\ | | | | | | Add GeoClue2 location provider
| * contrib: Update RPM spec to use GeoClue2Jon Lund Steffensen2014-12-151-2/+2
| |
| * Fix #80: Add Geoclue2 location providerJon Lund Steffensen2014-12-157-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 availableJon Lund Steffensen2014-12-152-13/+26
|
* contrib: Do not generate RPM specJon Lund Steffensen2014-12-152-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 filesJon Lund Steffensen2014-12-152-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-signalJon Lund Steffensen2014-12-061-1/+8
|\ | | | | redshift-gtk: Relay USR1 signal to redshift process
| * redshift-gtk: Relay USR1 signal to redshift processJon Lund Steffensen2014-12-061-1/+8
|/ | | | This also adds SIGINT to the signals handled by redshift-gtk.
* Merge pull request #139 from khink/masterJon Lund Steffensen2014-12-061-0/+1
|\ | | | | Add pointer to .travis.yml for Ubuntu dependency packages
| * Add a note about Ubuntu dependency packagesKees Hink2014-12-051-0/+1
|/ | | ...which can be found in .travis.yml
* Update Travis CI script to run make distcheckJon Lund Steffensen2014-11-231-1/+1
|
* redshift-gtk: Forward errors from child to stderrJon Lund Steffensen2014-11-041-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 indefinitelyJon Lund Steffensen2014-11-031-2/+3
|
* README: Fix markdown syntaxJon Lund Steffensen2014-10-131-4/+4
|
* README: Add build status imageJon Lund Steffensen2014-10-131-0/+4
|
* README: Rename to README.mdJon Lund Steffensen2014-10-131-0/+0
|
* Add Travis CI configuration fileJon Lund Steffensen2014-10-131-0/+12
|
* Merge pull request #116 from emilf/masterJon Lund Steffensen2014-09-221-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 itemilf2014-09-171-0/+1
|/
* Fix #114: Update nl translationPeter2014-09-141-41/+54
|
* configure.ac: Fix undefined GETTEXT_PACKAGE on installJon Lund Steffensen2014-08-161-0/+5
|
* Add gamma-dummy.c to POTFILES.inJon Lund Steffensen2014-08-161-0/+1
|
* Fix: desktop files missing in EXTRA_DIST and CLEANFILESJon Lund Steffensen2014-08-161-2/+4
|
* Fix #105: Limit decimals in displayed location to twoJon Lund Steffensen2014-08-161-1/+1
|
* Fix #90: Print N/S and E/W in the locationMattias Andrée2014-08-162-3/+5
|
* Merge pull request #92 from jonls/fix-91-makeruleJon Lund Steffensen2014-08-171-1/+1
|\ | | | | Fix building systemd unit files