aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile.am (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move options handling to separate fileJon Lund Steffensen2017-10-131-0/+1
| | | | | | | Create options.c which contains functions for initializing and parsing options from the command line and the configuration file. Program options that were previously local variables in main() are moved to the options_t struct.
* pipeutils: Add utils for pipe signalsJon Lund Steffensen2017-08-171-0/+1
| | | | | | | Add pipeutils.c with utility functions for working with pipes as signals across threads. Using pipes for signals makes it easy for the main thread to wait on (multiple) file descriptors with or without a timeout.
* Remove deprecated geoclue 1 location providerJon Lund Steffensen2017-08-161-16/+7
|
* Add Windows resourcesJon Lund Steffensen2017-07-301-2/+13
|
* Move signal processing functions and sigaction calls to signals from redshift.cMattias Andrée2015-12-281-0/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* redshift: Add hooks for user actions on period switchJon Lund Steffensen2014-12-281-0/+1
| | | | | | | | | | | | 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".
* Add CoreLocation (OSX) location providerJon Lund Steffensen2014-12-151-0/+15
| | | | | Similarly to the Geoclue provider, the CoreLocation provider only requests the location on startup.
* Add Quartz (OSX) gamma adjustment methodJon Lund Steffensen2014-12-151-0/+8
|
* Fix #80: Add Geoclue2 location providerJon Lund Steffensen2014-12-151-0/+8
| | | | | | | 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.
* Fix #67: Geoclue should pull in Glib as dependencyJon Lund Steffensen2014-04-131-1/+4
| | | | | Add checks in configure.ac for Glib and pull in through Makefile.am when Geoclue support is enabled.
* Merge pull request #42 from maandree/gamma-drmJon Lund Steffensen2014-03-221-0/+8
|\ | | | | Support for running Redshift outside X using libdrm
| * Support for running Redshift without a graphical environment in Linux by using Direct Rendering ManagerMattias Andrée2014-03-221-0/+8
| | | | | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* | Makefile.am: Substitute AM_CPPFLAGS for deprecated INCLUDESJon Lund Steffensen2014-03-221-1/+1
|/
* Remove Gnome Clock location providerJon Lund Steffensen2013-12-091-8/+0
| | | | | | | | This was basically a hack that happened to work because the Gnome Clock applet could store the current location of the user, and Redshift was able to fetch this location through GConf. Since Redshift for some time now has supported a config file where the location can be set, there is not really any reason to use an external, fragile solution to do the same.
* Add dummy gamma adjustment methodJon Lund Steffensen2013-12-091-1/+2
| | | | | | | | This method does not do anything but print the temperature to the terminal. An external program implementing a color temperature adjustment scheme that is not supported by redshift can use this method to determine the desired color temperature. It is also useful for testing other parts of redshift on systems where neither RandR nor VidMode works.
* Rename gtk-redshift -> redshift-gtk.Jon Lund Steffensen2013-03-051-1/+1
| | | | This is primarily for improved discovery. Some users report that they didn't know about redshift-gtk, but had it been available on tab completion they would have noticed. Also, I think it is in general good practice that closely related programs have the same prefix.
* Merge Geoclue location provider by Mathieu Trudel-Lapierre with some tweaks.Jon Lund Steffensen2011-03-281-1/+9
|\
| * Add Makefile bits for geoclue provider to properly link against geoclueMathieu Trudel-Lapierre2011-02-091-1/+10
|/ | | | and dbus-glib.
* Add configuration file support.Jon Lund Steffensen2010-10-151-2/+3
|
* Add missing file to Makefile.am.Jon Lund Steffensen2010-06-131-1/+1
| | | | Fix detection of GUI dependencies in configure.ac.
* Add location provider that reads location from the gconf key associatedJon Lund Steffensen2010-05-251-1/+10
| | | | | with the GNOME Clock applet. The implementation is rather simplistic as it only reads the location once on init but that'll have to do for now.
* Provide fundament for more advanced location providers.Jon Lund Steffensen2010-05-251-1/+2
|
* Use the prefix 'gamma' for gamma adjustment source files.Jon Lund Steffensen2010-05-241-6/+6
|
* systemtime.c: Portably read current time on posix and windows.Jon Lund Steffensen2010-05-061-2/+9
| | | | | | | | w32gdi.c: Implements gamma ramp method for Windows GDI API. Use double as a cross platform time representation. Add WinGDI as a selectable method (currently limitied to minimum 4500K). Fix a bug where redshift would crash if RANDR failed and VidMode wasn't compiled in.
* Switch to heirarchial makefiles. Seems to be the only way to makeJon Lund Steffensen2010-02-111-0/+38
distcheck happy :(