aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* config-ini: Properly respect XDG_CONFIG_HOME base directory specificationMasanori Kakura2018-05-041-5/+29
| | | | If redshift.conf is not found, fall back to formerly used path.
* Merge pull request #600 from kakurasan/travis_python3_macJon Lund Steffensen2018-04-261-1/+1
|\ | | | | Travis: Run "brew upgrade python" to install Python 3 on macOS
| * Travis: Run "brew upgrade python" to install Python 3 on macOSMasanori Kakura2018-03-231-1/+1
|/ | | | | | | | | As of March 2018, Travis CI fails on macOS: Error: python 2.7.14 is already installed To upgrade to 3.6.4_4, run `brew upgrade python` This commit fixes the issue.
* Merge pull request #550 from mwstobo/enable-disable-hooksJon Lund Steffensen2017-12-121-0/+1
|\ | | | | Fix #335: Set period to none when disabled
| * Fix #335: Set period to none when disabledMatt Stobo2017-10-301-0/+1
|/ | | | This allows for hooks to be run when redshift is disabled
* Merge pull request #542 from jonls/options-refactorJon Lund Steffensen2017-10-191-276/+277
|\ | | | | options: Split up parse functions
| * options: Split parse functionsJon Lund Steffensen2017-10-191-276/+277
|/
* Merge pull request #539 from jonls/update-poJon Lund Steffensen2017-10-1832-11686/+12423
|\ | | | | Update translation files
| * Update translation filesJon Lund Steffensen2017-10-1832-11686/+12423
|/
* Merge pull request #538 from jonls/man-updateJon Lund Steffensen2017-10-171-50/+55
|\ | | | | Improve man page
| * Fix #448: Mention redshift-gtk in man pageJon Lund Steffensen2017-10-171-0/+4
| |
| * man: Improve font markupJon Lund Steffensen2017-10-171-50/+51
|/
* Merge pull request #537 from jonls/preserve-optionJon Lund Steffensen2017-10-1611-68/+75
|\ | | | | Preserve command-line option
| * man: Document -P optionJon Lund Steffensen2017-10-131-2/+8
| |
| * Change preserve option to command line switchJon Lund Steffensen2017-10-1310-66/+67
|/ | | | | | | | | | | | | | | | | Changes each adjustment method to take a preserve parameter when setting the temperature instead of parsing the preserve option from the command line/configuration file. This helps resolve the issues around #513: - This allows the preserve option to be implemented as a command-line switch (-P). This switch _disables_ the preservation of existing gamma ramps. Having a command-line switch makes it easier to use directly with manual or one-shot mode. - The preserve options is on by default, so continual mode as well as other modes will default to applying the color adjustment on top of the current gamma ramps. - Preserve is always disabled in reset mode so resetting works as expected again.
* Merge pull request #535 from jonls/cleanupJon Lund Steffensen2017-10-1324-1276/+1336
|\ | | | | Cleanup redshift.c + modules + options
| * Add function for resetting color_setting_tJon Lund Steffensen2017-10-131-11/+20
| |
| * Move options handling to separate fileJon Lund Steffensen2017-10-136-716/+870
| | | | | | | | | | | | | | 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.
| * Move module structures out of headersJon Lund Steffensen2017-10-1317-161/+109
| |
| * Allocate module data in init functionsJon Lund Steffensen2017-10-1311-121/+138
| |
| * Move module struct definitions to separate filesJon Lund Steffensen2017-10-1319-305/+237
|/
* Merge pull request #536 from jonls/gtk-help-argsJon Lund Steffensen2017-10-131-0/+5
|\ | | | | Add help message to redshift-gtk
| * add help message to redshift-gtkSamuel Walladge2017-10-131-0/+5
|/
* Merge pull request #432 from hanklank/masterJon Lund Steffensen2017-10-131-141/+204
|\ | | | | Updated Swedish translation
| * Updated Swe translation - header changesJosef Andersson2017-02-061-4/+6
| |
| * Updated Swe translationJosef Andersson2017-02-061-138/+199
| |
* | Merge pull request #534 from jonls/fix-quartzJon Lund Steffensen2017-10-121-3/+4
|\ \ | | | | | | quartz: Fix incorrect use of display identifier
| * | quartz: Fix incorrect use of display identifierJon Lund Steffensen2017-10-121-3/+4
|/ / | | | | | | | | | | The quartz (macOS) adjustment method incorrectly used the display index instead of the associated CGDirectDisplayID. Incidentally this happened to work too but was incorrect.
* | Merge pull request #533 from jonls/fix-error-handlingJon Lund Steffensen2017-10-121-1/+1
|\ \ | | | | | | Fix bug where error code was not handled
| * | Fix bug where error code was not handledJon Lund Steffensen2017-10-121-1/+1
|/ /
* | Merge pull request #532 from jonls/fix-time-basedJon Lund Steffensen2017-10-121-12/+17
|\ \ | | | | | | Fix missing checks and verbose output
| * | Fix missing checks and verbose outputJon Lund Steffensen2017-10-121-12/+17
|/ / | | | | | | | | | | | | Rearrange checks and verbose output in main() to bring back checks that were accidentally left out when time-based adjustments were enabled. This includes the output indicating the daytime/night temperatures and the check that the temperatures are valid.
* | Merge pull request #531 from jonls/time-adjustment-docsJon Lund Steffensen2017-10-112-2/+27
|\ \ | | | | | | Add documentation for time-based adjustment
| * | Add dawn-time/dusk-time to sample configJon Lund Steffensen2017-10-111-0/+15
| | |
| * | man: Add documentation for dawn-time/dusk-timeJon Lund Steffensen2017-10-111-2/+12
| | |
* | | Merge pull request #530 from jonls/ci-apparmorJon Lund Steffensen2017-10-111-1/+1
|\ \ \ | |/ / |/| | Travis: Enable AppArmor install
| * | Travis: Enable AppArmor installJon Lund Steffensen2017-10-111-1/+1
|/ /
* | Merge pull request #529 from jonls/time-based-adjustmentJon Lund Steffensen2017-10-113-78/+286
|\ \ | | | | | | Time-based adjustment
| * | Check time-based configuration on CIJon Lund Steffensen2017-10-112-0/+12
| | |
| * | Time-based configurationJon Lund Steffensen2017-10-111-78/+274
| | | | | | | | | | | | | | | | | | | | | | | | Allow setting the time of the dawn and dusk transition periods directly in the configuration file. If these are specified, the location provider is not needed and is therefore not initialized. Based on patch by Martin Nicolay <edelschimmel1@gmx.de>.
* | | Merge pull request #528 from CameronNemo/apparmorJon Lund Steffensen2017-10-114-2/+77
|\ \ \ | |/ / |/| | Add AppArmor profile
| * | Add AppArmor profileCameron Norman2017-10-104-2/+77
|/ /
* | Merge pull request #527 from jonls/fix-osx-buildJon Lund Steffensen2017-10-101-0/+1
|\ \ | | | | | | Travis CI: Run brew update on macOS to fix build failure
| * | Travis CI: Run brew update on macOS to fix build failureJon Lund Steffensen2017-10-101-0/+1
|/ /
* | Merge pull request #524 from dev7355608/w32gdiJon Lund Steffensen2017-10-101-5/+15
|\ \ | | | | | | Fix #523: Retry SetDeviceGammaRamp before giving up
| * | Fix #523: Retry SetDeviceGammaRamp before giving updev73556082017-09-271-5/+15
|/ / | | | | | | | | | | We have to retry SetDeviceGammaRamp a few times before giving up because some buggy drivers fail on the first invocation just to succeed on the second.
* | Merge pull request #511 from jonls/preserve-by-defaultJon Lund Steffensen2017-08-314-4/+4
|\ \ | | | | | | Preserve gamma ramps by default
| * | w32gdi: Enable preserve by defaultJon Lund Steffensen2017-08-311-1/+1
| | |
| * | vidmode: Enable preserve by defaultJon Lund Steffensen2017-08-311-1/+1
| | |
| * | randr: Enable preserve by defaultJon Lund Steffensen2017-08-311-1/+1
| | |